Help for this page
$cmd = 'dir /s/b/a-d | p4 -x - add';
$cmd = ['cmd', '/c', 'dir /s/b/a-d | p4 -x - add'];