Search found 1 match

by jpinzon408
Friday 21 October 2016 22:28
Forum: Python
Topic: Script -Error - Returned: 256
Replies: 17
Views: 16840

Re: Script -Error - Returned: 256

Hi, for ON/OFF works for me this way,
for ON: script:///path/yourpythonprogramON.sh

Code: Select all

#!/bin/sh
python yourpythonprogram.py > /dev/null 2>&1 &
exit 0
and OFF: only script:///path/yourpythonprogramOFF.py

I hope you find this information useful.