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() or exec() the shell is not 
used at all. So it can't cause any restriction.
Besides ... it's safer that way.

It's a shame that even in Perl 5.8 one can't do this:
        open (IN, '-|', 'cmd','/c','dir');
:-(

You have to implement such thing with pipe(), fork() and exec().

Jenda=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz 
==========
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to