Re: Run perl on window using cygwin+Eclipse+EPIC

2008-09-10 Thread Sisyphus
- Original Message - From: Jing LI [EMAIL PROTECTED] . . It uses find to find a type of file in a directory and its subdirectories: my @jarfiles = split(' ',`find $bin_location -name *.jar`); But when run or debug it in Eclipse, it has error: sh: find: No such file or directory.

RE: Run perl on window using cygwin+Eclipse+EPIC

2008-09-10 Thread Brian Raven
Sisyphus wrote: - Original Message - From: Jing LI [EMAIL PROTECTED] . . It uses find to find a type of file in a directory and its subdirectories: my @jarfiles = split(' ',`find $bin_location -name *.jar`); But when run or debug it in Eclipse, it has error: sh: find: No such

Re: Run perl on window using cygwin+Eclipse+EPIC

2008-09-10 Thread Chris Wagner
I think what ur asking is why does this work under Cygwin but not under Eclipse? Or vice versa? It all depends on what shell like thing the `` command is being filtered through. Cygwin paths and Windows paths are not interchangable. If u run it under Cygwin the paths will be like

RE: Run perl on window using cygwin+Eclipse+EPIC

2008-09-10 Thread David M. Funk
Try /cygdrive/c/cygwin/bin as the path From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jing LI Sent: Tuesday, September 09, 2008 10:45 PM To: perl-win32-users@listserv.ActiveState.com Subject: Run perl on window using cygwin+Eclipse+EPIC I have one Perl script which works

RE: Run perl on window using cygwin+Eclipse+EPIC

2008-09-10 Thread Jing LI
-win32-users@listserv.ActiveState.com Subject: RE: Run perl on window using cygwin+Eclipse+EPIC Sisyphus wrote: - Original Message - From: Jing LI [EMAIL PROTECTED] . . It uses find to find a type of file in a directory and its subdirectories: my @jarfiles = split(' ',`find

Re: Run perl on window using cygwin+Eclipse+EPIC

2008-09-10 Thread Sisyphus
- Original Message - From: Brian Raven [EMAIL PROTECTED] To: perl-win32-users@listserv.ActiveState.com Sent: Wednesday, September 10, 2008 11:33 PM Subject: RE: Run perl on window using cygwin+Eclipse+EPIC Sisyphus wrote: - Original Message - From: Jing LI [EMAIL PROTECTED

Run perl on window using cygwin+Eclipse+EPIC

2008-09-09 Thread Jing LI
I have one Perl script which works when executing it directly in Cygwin window. It uses find to find a type of file in a directory and its subdirectories: my @jarfiles = split(' ',`find $bin_location -name *.jar`); But when run or debug it in Eclipse, it has error: sh: find: No such