popen

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Faith

    popen

    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
  • Peter Maas

    #2
    Re: popen

    Faith schrieb:[color=blue]
    > 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 ..[/color]

    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

    --
    -------------------------------------------------------------------
    Peter Maas, M+R Infosysteme, D-52070 Aachen, Hubert-Wienen-Str. 24
    Tel +49-241-93878-0 Fax +49-241-93878-20 eMail peter.maas@mplu sr.de
    -------------------------------------------------------------------

    Comment

    Working...