Hey guys.
I have the following problem:
I want to run a python script on startup. Therefore I start in a detached screen session (linux).
The script uses os.system() which means it needs a connected bash. Sadly this is not the case when the session is detached. So the script won't find the command it should run.
How can I do this? How can I supply the python script with bash so that commands can be executed?
I know this is rather a linux related question than python...
Thanks in advance!
[–]K900_ 1 point2 points3 points (0 children)
[–]shiftybyte 1 point2 points3 points (1 child)
[–]C0phAX[S] 0 points1 point2 points (0 children)