Is the program you're calling from popen generating any output on
stdin/stdout or waiting for input on stdin? Then there's a good chance
it's blocked and nothing happens so consider redirecting
stdin/stdout/stderr to /dev/null prior to calling the program out of
popen, or read/write the needed
On Thu, October 14, 2010 4:10 pm, f...@kokkinizita.net wrote:
> On Thu, Oct 14, 2010 at 03:04:54PM -0700, Patrick Shirkey wrote:
>
>> In a bit of a time crunch. Can anyone tell me how to do this properly?
>>
>> I would like to have a threaded timer to run "cmd" after 5 seconds.
>> However cmd is n
On Fri, Oct 15, 2010 at 12:04 AM, Patrick Shirkey
wrote:
> In a bit of a time crunch. Can anyone tell me how to do this properly?
>
> I would like to have a threaded timer to run "cmd" after 5 seconds.
> However cmd is normally triggered like this:
>
> os.system(cmd)
>
> But there seems to be an i
On Thu, Oct 14, 2010 at 03:04:54PM -0700, Patrick Shirkey wrote:
> In a bit of a time crunch. Can anyone tell me how to do this properly?
>
> I would like to have a threaded timer to run "cmd" after 5 seconds.
> However cmd is normally triggered like this:
>
> os.system(cmd)
>
> But there seems
Hi,
In a bit of a time crunch. Can anyone tell me how to do this properly?
I would like to have a threaded timer to run "cmd" after 5 seconds.
However cmd is normally triggered like this:
os.system(cmd)
But there seems to be an issue with calling os.system(cmd) from
subprocess.popen.
=