Re: character limit on system commands

2002-10-10 Thread Jenda Krynicky
From: Michael Fowler <[EMAIL PROTECTED]> > On Thu, Oct 10, 2002 at 07:19:03PM +0200, Jenda Krynicky wrote: > > It's a shame that even in Perl 5.8 one can't do this: > > open (IN, '-|', 'cmd','/c','dir'); > > Well, the feature is there in 5.8.0, it's just not portable. Of > course, you mentio

Re: character limit on system commands

2002-10-10 Thread Michael Fowler
On Thu, Oct 10, 2002 at 07:19:03PM +0200, Jenda Krynicky wrote: > It's a shame that even in Perl 5.8 one can't do this: > open (IN, '-|', 'cmd','/c','dir'); Well, the feature is there in 5.8.0, it's just not portable. Of course, you mention the other way to implement that is with a pipe(),

Re: character limit on system commands

2002-10-10 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Nikola Janceski) writes: >uh... is there away around the character limit (256 chars) on >system/exec/backtick commands? >I know it's probably sh's fault, but I would like to avoid creating a shell >script if possible. You can bypass the shell in

Re: character limit on system commands

2002-10-10 Thread Jenda Krynicky
From: Nikola Janceski <[EMAIL PROTECTED]> > uh... is there away around the character limit (256 chars) on > system/exec/backtick commands? > I know it's probably sh's fault, but I would like to avoid creating a > shell script if possible. If you use the list variant of system()

character limit on system commands

2002-10-10 Thread Nikola Janceski
uh... is there away around the character limit (256 chars) on system/exec/backtick commands? I know it's probably sh's fault, but I would like to avoid creating a shell script if possible. Thanx, Nikola Janceski Our doubts are traitors, and make us lose the good we oft might win by fearing to a