I am trying to run it on the raspbian, the terminal pops up and stays blank/vanishes can anyone tell me why is this happening and how can I prevent this from happening , Kindly advice and thank you in advance.
#!/bin/bash
export PYTHONPATH=$1/env
nohup x-terminal-emulator -e $1/env/bin/python
$1/Web_Server/run/script.py
#---------
After changing x-terminal-emulator
by xterm -hold -e
in the bash script we could manage to pop up a new terminal and run python!
#!/bin/bash
export PYTHONPATH=$1/env
nohup xterm -hold -e $1/env/bin/python $1/Web_Server/run/script.py
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加