1,760
edits
Changes
→PART 2 - Launching Linux command and controlling its process Commands with os and subprocess modules
<br><br>
== PART 2 - Launching Linux command and controlling its process Commands with builtin functions in os and subprocess modules ==:The remainder of this investigation will allow you to explore the behaviour of some functions from the os and subprocess modules. All of these functions will take function argument(s), some will return value(s), and some will not. The functions we are going to explore are: os.system(), os.popen(), and subprocess.Popen(). All of them can be used to launching launch any Linux commands and can interact with the their processesvia the standard input, standard output, and standard error data channels.
'''Perform the Following Steps:'''