Python Forum
Run python script in RPi2 from ssh session
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run python script in RPi2 from ssh session
#1
If I run a python script on a RPi2 from an ssh session, that script stops once the ssh session is terminated.  How do I make that python script run in the RPi2 indefinitely and irrespective of what happens with the ssh session?  Just run it from the local pi user?  I don't have a monitor on my pi so is there a way to make it run as local from a remote computer?
Reply


Messages In This Thread
Run python script in RPi2 from ssh session - by marciokoko - Jan-23-2017, 01:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a *.bat DOS batch script to *.py Python Script converter? pstein 3 3,617 Jun-29-2023, 11:57 AM
Last Post: gologica
  How to kill a bash script running as root from a python script? jc_lafleur 4 6,122 Jun-26-2020, 10:50 PM
Last Post: jc_lafleur
  win32 API: Launch Application to RDP session from background process python script rangeshgupta 0 2,232 May-28-2020, 09:41 PM
Last Post: rangeshgupta
  crontab on RHEL7 not calling python script wrapped in shell script benthomson 1 2,396 May-28-2020, 05:27 PM
Last Post: micseydel
  Package python script which has different libraries as a single executable or script tej7gandhi 1 2,702 May-11-2019, 08:12 PM
Last Post: keames
  Powershell Session translation to Python; Session code seems to not work Maverick494 1 3,687 Jun-26-2018, 05:16 PM
Last Post: Maverick494
  different baviour in script vs shell session xiaoyisimonguo 0 2,025 May-10-2018, 01:03 AM
Last Post: xiaoyisimonguo
  Check Python version from inside script? Run Pythons script in v2 compatibility mode? pstein 2 9,930 Jul-07-2017, 08:59 AM
Last Post: snippsat
  Cant pass corect variables to python script in bash script neradp 3 6,312 Nov-05-2016, 01:26 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020