F
Frank Teoh
I am trying to capture the output of os.system() into a string without
success. Since os.system() returns only its exit_status, how can I do
that?
system(...)
system(command) -> exit_status
Execute the command (a string) in a subshell.
My aim is to capture the return value of os.system("rsh
<netapp_filer_host> qtree")
Thanks.
-FT
success. Since os.system() returns only its exit_status, how can I do
that?
system(...)
system(command) -> exit_status
Execute the command (a string) in a subshell.
My aim is to capture the return value of os.system("rsh
<netapp_filer_host> qtree")
Thanks.
-FT