in reply to Re: getting a problem when I use which command with system function
in thread getting a problem when I use which command with system function
Only on windows it did not work, since i use cygwin to perform most linux like functions...# Debian and CentOS Linux: perl -e 'system("which ls");' /bin/ls
What os are you using?U:\>perl -e 'system("which ls");' /usr/bin/ls U:\>/bin/ls The system cannot find the path specified. U:\>
|
|---|