Three problems.
You are using options that would be understood by Windows's dir command, which means you're not running Windows's dir command.
You're trying to run a shell command (a pipe). Since you're not running a shell since you're using the multiple argument form of system, that's not going to work.
You broke up the shell command into bits, so how is the shell suppose to execute it?
Solution:
$cmd = 'find -type f | p4 -x - add';
In reply to Re: IPC::Run3 error
by ikegami
in thread IPC::Run3 error
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |