From the application I cause one more program. Let's say so
import os os.system('gedit 1.py')
Is it possible to track when the running program was closed? And proceed to the next.
From the application I cause one more program. Let's say so
import os os.system('gedit 1.py')
Is it possible to track when the running program was closed? And proceed to the next.
Source: https://ru.stackoverflow.com/questions/121384/
All Articles
os.system
is an outdated call. - northernersystem()
, declared obsolete (should not be used in new Python code:> 17.1.4.3. Replacing os.system () sts = os.system ("mycmd" + "myarg") # becomes sts = call ("mycmd" + "myarg", shell = True) - northerner