Skip to content

Daemonize skipping python commands #29

Open
@rishabhjain9191

Description

@rishabhjain9191

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions