How to change the runlevels in python

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aasifsheikh01
    New Member
    • Feb 2014
    • 2

    How to change the runlevels in python

    Hello,

    I am writing an application in python that will initially interact with the user in runlevel 5 i.e graphical mode. Then I want to shift to run level 3 automatically and then execute some commands there depending on the users interaction in graphical mode...
    Is there any way to do this... As i think the application terminates when we change the run level, and all the data which is collected from the user is lost...?
    Please let me know if there is any way to do the above thing
Working...