Python Forum
Os.system("shutdown"); command not found
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Os.system("shutdown"); command not found
#2
Which user are you running this as? From memory, shutdown is typically only on root's path.
Reply


Messages In This Thread
RE: Os.system("shutdown"); command not found - by ndc85430 - Nov-12-2022, 11:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb shutdown host from docker container cosmin1805 0 995 Nov-27-2022, 06:34 PM
Last Post: cosmin1805
  Possible to execute a python script before log off/shutdown with input commands? Kaltex 1 2,317 May-18-2021, 06:31 AM
Last Post: Skaperen
  Difference between os.system("clear") and os.system("cls") chmsrohit 7 16,788 Jan-11-2021, 06:30 PM
Last Post: ykumar34
  How can I found how many numbers are there in a Collatz Sequence that I found? cananb 2 2,594 Nov-23-2020, 05:15 PM
Last Post: cananb
Question Difference between Python's os.system and Perl's system command Agile741 13 6,985 Dec-02-2019, 04:41 PM
Last Post: Agile741
  Detecting windows shutdown event riccardoob 4 5,813 Nov-12-2019, 04:51 PM
Last Post: Aurthor_King_of_the_Brittons
  Error executing Jupyter command 'notebook': [Errno 'jupyter-notebook' not found] 2 Newtopython123 10 31,468 Apr-25-2019, 07:30 AM
Last Post: banu0395
  run command on system with multi qoutes evilcode1 16 6,749 Aug-31-2018, 05:19 PM
Last Post: evilcode1
  pip command not found Able98 7 52,883 May-31-2017, 07:30 PM
Last Post: Able98
  System Command sushmita13 3 3,783 Apr-25-2017, 11:53 PM
Last Post: wavic

Forum Jump:

User Panel Messages

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