Open rishabhjain9191 opened 5 years ago
I have a script that I want daemonize, daemonize_me.sh which calls some other python script. For example:
daemonize_me.sh
#!/bin/bash echo "Before Python" python --version /usr/bin/python --version python somefile.py which python echo "After Python"
daemonize /path/to/daemonize_me.sh Output
daemonize /path/to/daemonize_me.sh
Before Python /usr/bin/python After Python
It looks like running script with daemonize skipping python instructions. Python is present in $PATH as well.
You need to provide full path of the python script somefile.py.
I have a script that I want daemonize,
daemonize_me.sh
which calls some other python script. For example:daemonize /path/to/daemonize_me.sh
OutputIt looks like running script with daemonize skipping python instructions. Python is present in $PATH as well.