I read many threads on the subject and tried many variants, but I
still couldn't figure out how to do it.
What I know for sure is that using the subprocess module is the way to
go, since it aims to replace all the older solutions, but I can't make
it work...
Let's say that my appengine directory
On Sat, Nov 8, 2008 at 11:46 PM, Alexander Orlov
<[EMAIL PROTECTED]> wrote:
>
> On Nov 7, 9:07 pm, "David Symonds" <[EMAIL PROTECTED]> wrote:
>> You'll want to use os.popen instead.
>
> How should I exactly use it?
> os.popen(cmd, args)
http://www.google.com/search?q=site:python.org+os.popen
http
On Nov 7, 9:07 pm, "David Symonds" <[EMAIL PROTECTED]> wrote:
> You'll want to use os.popen instead.
How should I exactly use it?
os.popen(cmd, args)
resp.
os.execv('%s/appcfg.py' % PATH_GAE, args)
results in
"close failed: [Errno 11] Resource temporarily unavailable"
--~--~-~--~
I suggest the subprocess module for consistant process invocation in all
circumstances.
On Nov 7, 2008 3:07 PM, "David Symonds" <[EMAIL PROTECTED]> wrote:
On Fri, Nov 7, 2008 at 11:29 AM, Alexander Orlov <[EMAIL PROTECTED]>
wrote: > os.ex...
Check the Python documentation, because you've misu
On Fri, Nov 7, 2008 at 11:29 AM, Alexander Orlov
<[EMAIL PROTECTED]> wrote:
>os.execv('%s/appcfg.py' % PATH_GAE, args)
Check the Python documentation, because you've misunderstood os.execv.
You'll want to use os.popen instead.
Dave.
--~--~-~--~~~---~--~