What I'm wanting to do is save files written by the executable I'm running to a Dropbox folder. The files are saved at random times, so I can't use a timer.
The only ways I know of executing files are non-blocking, and when I run the functions, they simply just execute and continue (for example, using subprocess
to run a start
command with the argument being the executable).
I can't modify the executable, I can only run it.
Here's what I've tried so far: I have looked up the question and haven't found anything. The only way I know of executing something with python is using the suprocess' call
function and the Popen
function, and using the start
command to execute the executable. But that is still non-blocking, and continues after the executable has started, not ended.