Python Forum
Thread Rating:
  • 3 Vote(s) - 2.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
System Command
#1
my question here


def systemCommand(cmd):
terminalProcess = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True)
terminalOutput, stderr = terminalProcess.communicate()
What do these lines mean?
ThanksĀ  Smile
Reply


Messages In This Thread
System Command - by sushmita13 - Apr-24-2017, 03:06 PM
RE: System Command - by wavic - Apr-24-2017, 03:43 PM
RE: System Command - by sushmita13 - Apr-25-2017, 11:35 AM
RE: System Command - by wavic - Apr-25-2017, 11:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Os.system("shutdown"); command not found cosmin1805 4 1,744 Nov-13-2022, 02:07 PM
Last Post: cosmin1805
  Difference between os.system("clear") and os.system("cls") chmsrohit 7 16,747 Jan-11-2021, 06:30 PM
Last Post: ykumar34
Question Difference between Python's os.system and Perl's system command Agile741 13 6,955 Dec-02-2019, 04:41 PM
Last Post: Agile741
  run command on system with multi qoutes evilcode1 16 6,636 Aug-31-2018, 05:19 PM
Last Post: evilcode1

Forum Jump:

User Panel Messages

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