Skip to main content
edited tags
Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 267

I'd like to do a one line bash command that automatically does this:

screen -S myserver python myserver.py # inside the new screen CTRL A, D (detach) 

I think this won't work:

screen -S myserver && python myserver.py 

because python myserver.py won't be started inside the screen.

Note: tmux and nohup tag because it's the closest to screen I could find.

I'd like to do a one line bash command that automatically does this:

screen -S myserver python myserver.py # inside the new screen CTRL A, D (detach) 

I think this won't work:

screen -S myserver && python myserver.py 

because python myserver.py won't be started inside the screen.

Note: tmux and nohup tag because it's the closest to screen I could find.

I'd like to do a one line bash command that automatically does this:

screen -S myserver python myserver.py # inside the new screen CTRL A, D (detach) 

I think this won't work:

screen -S myserver && python myserver.py 

because python myserver.py won't be started inside the screen.

added 25 characters in body
Source Link
Basj
  • 2.6k
  • 10
  • 44
  • 78

I'd like to do a one line bash command that automatically does this:

screen -S myserver python myserver.py # inside the new screen CTRL A, D (detach) 

I think this won't work:

screen -S myserver && python myserver.py 

because python myserver.py won't be started inside the screen.

Note: tmux and nohup tag because it's the closest to screen I could find.

I'd like to do a one line bash command that automatically does this:

screen -S myserver python myserver.py CTRL A, D (detach) 

I think this won't work:

screen -S myserver && python myserver.py 

because python myserver.py won't be started inside the screen.

Note: tmux and nohup tag because it's the closest to screen I could find.

I'd like to do a one line bash command that automatically does this:

screen -S myserver python myserver.py # inside the new screen CTRL A, D (detach) 

I think this won't work:

screen -S myserver && python myserver.py 

because python myserver.py won't be started inside the screen.

Note: tmux and nohup tag because it's the closest to screen I could find.

Source Link
Basj
  • 2.6k
  • 10
  • 44
  • 78
Loading