* Dennis Lee Bieber [120828 07:11]:
> On Mon, 27 Aug 2012 15:43:59 -0800, Tim Johnson
> declaimed the following in gmane.comp.python.general:
>
> > * Benjamin Kaplan [120827 15:20]:
> > > The popen* functions are deprecated. You should use the subprocess module
> > > instead.
> > No, I'm stuc
* Dave Angel [120827 15:20]:
> On 08/27/2012 06:39 PM, Tim Johnson wrote:
> > In bash I do the following:
> > linus:journal tim$ /home/AKMLS/cgi-bin/perl/processJournal-Photo.pl hiccup
> > -bash: /home/AKMLS/cgi-bin/perl/processJournal-Photo.pl: No such file or
> > directory
> > linus:journal tim
* Benjamin Kaplan [120827 15:20]:
> The popen* functions are deprecated. You should use the subprocess module
> instead.
No, I'm stuck with py 2.4 on one of the servers I'm using and
there will not be an upgrade for a few months. I'm really trying
to set up something portable between linux->
On Aug 27, 2012 3:47 PM, "Tim Johnson" wrote:
>
> In bash I do the following:
> linus:journal tim$ /home/AKMLS/cgi-bin/perl/processJournal-Photo.pl hiccup
> -bash: /home/AKMLS/cgi-bin/perl/processJournal-Photo.pl: No such file or
directory
> linus:journal tim$ echo $?
> 127
>
> In python, use os.p
On 08/27/2012 06:39 PM, Tim Johnson wrote:
> In bash I do the following:
> linus:journal tim$ /home/AKMLS/cgi-bin/perl/processJournal-Photo.pl hiccup
> -bash: /home/AKMLS/cgi-bin/perl/processJournal-Photo.pl: No such file or
> directory
> linus:journal tim$ echo $?
> 127
>
> In python, use os.pope
In bash I do the following:
linus:journal tim$ /home/AKMLS/cgi-bin/perl/processJournal-Photo.pl hiccup
-bash: /home/AKMLS/cgi-bin/perl/processJournal-Photo.pl: No such file or
directory
linus:journal tim$ echo $?
127
In python, use os.popen4 I do the following:
>>> fin,fout = os.popen4('/home/AKM