popen

F

Faith

hi all,
I am trying to run a batch file from my python program, in the end of
the batch file I call a command called creterelease but for some
reason its not being executed.. I know there is nothing wrong with the
bacthfile cause it worked fine when I run it from the command line ..
so if anyone knows about why could that be happenning please let me
know.. by the way I tried to use system and the othe popen version and
I still got nothing..
well ... hope you can help..
thanks,
Faith
 
P

Peter Maas

Faith said:
hi all,
I am trying to run a batch file from my python program, in the end of
the batch file I call a command called creterelease but for some
reason its not being executed.. I know there is nothing wrong with the
bacthfile cause it worked fine when I run it from the command line ..

Have you supplied the full pathname? As far as I know path search
is done by the shell, not by popen().

Mit freundlichen Gruessen,

Peter Maas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,474
Latest member
AntoniaDea

Latest Threads

Top