Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: Yoda
Forum: Programming 09-18-2019
7,513
Posted By Yoda
To see the output from program, you have to print...
To see the output from program, you have to print the output. I believe stdout is used internally for this function:-

print subprocess.check_output(shlex.split(command))
Forum: Programming 09-18-2019
7,513
Posted By Yoda
It is also possible that the command that you are...
It is also possible that the command that you are running is sending the output to stderr instead of stdout

Try this instead:-

subprocess.check_output(shlex.split(command),...
Showing results 1 to 2 of 2

 

Featured Tech Videos

All times are GMT -4. The time now is 10:15 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy