help !! commands.getstatusoutput

Michael Hudson mwh at python.net
Thu Jan 16 09:51:25 EST 2003


cout <cout at netvigator.com> writes:

> Help
> I'm running a shell program using commands.getstatusoutput(myShellScripts),
> myShellScripts takes few minutes to finish a job. Is there anyway to
> monitor the output while myShellScripts is being executing?

Use popen instead?  Watch out for buffering, tho'.

Cheers,
M.

-- 
  Many of the posts you see on Usenet are actually from moths.  You
  can tell which posters they are by their attraction to the flames.
                                      -- Internet Oracularity #1279-06




More information about the Python-list mailing list