In most shells, you can launch commands or processes in the background by appending an ampersand (&
) to the command:
python file.py &
Проблема заключается в том, что если я выполняю команду (например, скрипт Python), терминал или скрипт ждут, пока программа вернет состояние выхода, чтобы продолжить или вернуться к терминалу. Есть ли способ обойти это?
In most shells, you can launch commands or processes in the background by appending an ampersand (&
) to the command:
python file.py &
Several choices:
man screen
, screen
, myprorgamm
, C-a d
, screen -r
.nohup myprogramm
myprogramm &
Yes. If you're using Bash or a similar shell, type:
./your_script.py &