daemonize icon indicating copy to clipboard operation
daemonize copied to clipboard

Daemonize skipping python commands

Open rishabhjain9191 opened this issue 6 years ago • 1 comments

I have a script that I want daemonize, daemonize_me.sh which calls some other python script. For example:

#!/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

Before Python
/usr/bin/python
After Python

It looks like running script with daemonize skipping python instructions. Python is present in $PATH as well.

rishabhjain9191 avatar Apr 24 '19 12:04 rishabhjain9191

You need to provide full path of the python script somefile.py.

random-user-00 avatar Jun 25 '20 17:06 random-user-00