Nov-14-2018, 10:23 AM
Hi folks.
Is there anyway using python I can pause a different python app that's running?
Start app 1.
Start app 2.
App 2 pauses app 1 while it does something.
App 2 closes.
App 1 resumes.
I know I could write this in one app on threads, but that's adding to permanent memory use which I'd like to avoid, plus I'd have to write in a whole communication block in App 1, I'd also like to avoid that.
I've thought of using external files or a database field for triggering the pause, but this gets messy if an app stops unexpectedly.
Any other ideas?
Many thanks.
Is there anyway using python I can pause a different python app that's running?
Start app 1.
Start app 2.
App 2 pauses app 1 while it does something.
App 2 closes.
App 1 resumes.
I know I could write this in one app on threads, but that's adding to permanent memory use which I'd like to avoid, plus I'd have to write in a whole communication block in App 1, I'd also like to avoid that.
I've thought of using external files or a database field for triggering the pause, but this gets messy if an app stops unexpectedly.
Any other ideas?
Many thanks.