Semicolor seperator in Perl system() command under WinNT

Elliot Mednick
Tue Nov 9 10:40:00 GMT 1999


What do I need to do to be able to use semicolons in the system command in
Perl under WinNT?

For example:

$log = system ("cd foo; ls");

This works fine under Win98.  But under WinNT, I get nothing.  I get nothing
anytime I use semicolon or other punctuation inside the system command.  But
single commands work fine.  Same holds true for backticks.

Cygwin 20.1, Perl 5.005_03 for Cygwin.


Elliot Mednick                              51 Sawyer Rd, Suite 110
Processor Architect                         Waltham, MA. 02453
Lexra, Inc.                                 (781) 899-5799 x805                            (781) 899-5769 fax

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list