system command
Daniel Fackrell
dfackrell at DELETETHIS.linuxmail.org
Thu Jun 13 13:51:26 EDT 2002
Assumption: You are referring to the "source" command as provided by the
bash shell on some *nix.
The man page for bash suggests that you probably want:
print "source "+root+".in"
os.system("bash "+root+".in")
--
Daniel Fackrell (dfackrell at linuxmail.org)
When we attempt the impossible, we can experience true growth.
"Thor" <thor__00 at yahoo.com> wrote in message
news:aeajuh$5b5eo$1 at ID-108351.news.dfncis.de...
> Having this code
>
> print "source "+root+".in"
> os.system("source "+root+".in")
>
> the script does not run the root+".in" file, but copying and pasting the
> output form teh 1st line work.. what i'm doing wrong? Thanks in advance
> --
> Thor -- Stockholm -- Sverige
More information about the Python-list
mailing list