Can someone please help me with this:
I have a python script, that at some point calls a linux bash script (.sh). Starting the shell script is the last thing my python script needs to do, so I would like for the python script to exit once the call has been made, without waiting for the shell script to finish.
My question is:
how do I call a shell script from a python script?
and how do I do that such that control is tranferred to the shell script and the python script does not wait for the shell script to exit, but clean itself up?
I have a python script, that at some point calls a linux bash script (.sh). Starting the shell script is the last thing my python script needs to do, so I would like for the python script to exit once the call has been made, without waiting for the shell script to finish.
My question is:
how do I call a shell script from a python script?
and how do I do that such that control is tranferred to the shell script and the python script does not wait for the shell script to exit, but clean itself up?
Comment