[Zope-Perl] Re: setting perls ARGV
Felix Schwarz
Felix.Schwarz at web.de
Thu Jun 1 05:55:12 EDT 2006
Hallo Mathew,
Mathew Yeates schrieb:
> I have a perl file which usually gets called from the command line. From
> my python script I am reading the file into a string and the calling
> perl.eval on the string.
> Because the perl script is usually executed from the command line, the
> script makes use of @ARGV. How can I set this from my python script?
I don't know if this is supported yet.
1. os.system(" ... ") will always work.
2. Ideally sys.argv = ["abc", "..."] should work too but I think, a
patch is needed for this.
--
Felix
More information about the Zope-perl
mailing list