/PHP-8.3/ext/standard/tests/general_functions/ |
H A D | ghsa-9fcc-425m-g385_002.phpt | 23 $proc = proc_open(["cmd.exe", "/c", $batch_file_path, "\"¬epad.exe"], $descriptorspec, $pipes); 25 $proc = proc_open(["cmd.exe ", "/c", $batch_file_path, "\"¬epad.exe"], $descriptorspec, $pipes… 27 $proc = proc_open(["cmd.exe. ", "/c", $batch_file_path, "\"¬epad.exe"], $descriptorspec, $pipe… 33 $proc = proc_open(["cmd", "/c", $batch_file_path, "\"¬epad.exe"], $descriptorspec, $pipes); 35 $proc = proc_open(["cmd ", "/c", $batch_file_path, "\"¬epad.exe"], $descriptorspec, $pipes); 37 $proc = proc_open(["cmd. ", "/c", $batch_file_path, "\"¬epad.exe"], $descriptorspec, $pipes); 38 $proc = proc_open(["cmd. ... ", "/c", $batch_file_path, "\"¬epad.exe"], $descriptorspec, $pipes… 52 Warning: proc_open(): CreateProcess failed, error code: 2 in %s on line %d 58 Warning: proc_open(): CreateProcess failed, error code: 2 in %s on line %d 60 Warning: proc_open(): CreateProcess failed, error code: 2 in %s on line %d [all …]
|
H A D | proc_open_pipes3.phpt | 2 proc_open() with invalid pipes 15 proc_open("$php -n $callee_escaped", $spec, $pipes); 19 proc_open("$php -n $callee_escaped", $spec, $pipes); 25 proc_open("$php -n $callee_escaped", $spec, $pipes); 29 proc_open("$php -n $callee_escaped", $spec, $pipes); 35 Warning: proc_open(): pi is not a valid descriptor spec/mode in %s on line %d 36 proc_open(): Argument #2 ($descriptor_spec) must only contain arrays and streams 48 Warning: proc_open(test): Failed to open stream: %s in %s on line %d
|
H A D | proc_open_redirect.phpt | 2 Redirection support in proc_open 8 proc_open([$php], [['redirect']], $pipes); 14 proc_open([$php], [['redirect', 'foo']], $pipes); 20 proc_open([$php], [['redirect', 42]], $pipes); 27 $proc = proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['redirect', 1]], $pipes); 34 $proc = proc_open($cmd, [1 => ['file', $fileName, 'w'], 2 => ['redirect', 1]], $pipes); 42 $proc = proc_open($cmd, [1 => $file, 2 => ['redirect', 1]], $pipes); 50 $proc = proc_open($cmd, [2 => ['redirect', 1]], $pipes); 58 Warning: proc_open(): Redirection target 42 not found in %s
|
H A D | proc_open.phpt | 2 proc_open 6 if (!function_exists("proc_open")) echo "skip proc_open() is not available"; 16 $cat = proc_open(
|
H A D | ghsa-9fcc-425m-g385_001.phpt | 23 $proc = proc_open([$batch_file_path . ".", "\"¬epad.exe"], $descriptorspec, $pipes); 25 $proc = proc_open([$batch_file_path . " ", "\"¬epad.exe"], $descriptorspec, $pipes); 27 $proc = proc_open([$batch_file_path . ". ", "\"¬epad.exe"], $descriptorspec, $pipes); 29 $proc = proc_open([$batch_file_path . ". ... ", "\"¬epad.exe"], $descriptorspec, $pipes); 31 $proc = proc_open([$batch_file_path . ". ... . ", "\"¬epad.exe"], $descriptorspec, $pipes); 33 $proc = proc_open([$batch_file_path . ". ... . .", "\"¬epad.exe"], $descriptorspec, $pipes); 35 proc_open([$batch_file_path . ". .\\.. . .", "\"¬epad.exe"], $descriptorspec, $pipes); 52 Warning: proc_open(): CreateProcess failed, error code: 2 in %s on line %d
|
H A D | proc_open_array.phpt | 2 Using proc_open() with a command array (no shell) 15 proc_open([], $ds, $pipes); 22 proc_open(["php\0oops"], $ds, $pipes); 29 proc_open(["php", "array\0oops"], $ds, $pipes); 36 proc_open([""], $ds, $pipes); 42 $proc = proc_open([$php, '-r', 'echo "Hello World!\n";'], $ds, $pipes); 51 $proc = proc_open($cmd, $ds, $pipes); 56 $proc = proc_open($cmd, $ds, $pipes, null, $env); 71 $proc = proc_open($cmd, $ds, $pipes); 78 proc_open(): Argument #1 ($command) must have at least one element
|
H A D | proc_open-mb1.phpt | 2 proc_open without bypass_shell subprocess parameter passing 5 if (!function_exists("proc_open")) echo "skip proc_open() is not available"; 22 $p = proc_open(
|
H A D | proc_open-mb0.phpt | 2 proc_open with bypass_shell subprocess parameter passing 5 if (!function_exists("proc_open")) echo "skip proc_open() is not available"; 22 $p = proc_open(
|
H A D | proc_open_null.phpt | 2 Null pipes in proc_open() 9 $proc = proc_open($cmd, [1 => ['null'], 2 => ['pipe', 'w']], $pipes); 14 $proc = proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['null']], $pipes);
|
H A D | proc_open_pipes2.phpt | 2 proc_open() with no pipes 10 proc_open("$php -n $callee", $spec, $pipes);
|
H A D | bug72306.phpt | 2 Bug #72306 (Heap overflow through proc_open and $env parameter) 19 $process = proc_open('nothing', $description, $pipes, NULL, $env);
|
H A D | bug78569.phpt | 2 Bug #78569 (proc_open() may require extra quoting) 13 $proc = proc_open($cmd, $descriptorspec, $pipes);
|
H A D | bug44667.phpt | 2 Bug #44667 (proc_open() does not handle pipes with the mode 'wb' correctly) 15 $proc = proc_open('cat', $descriptor_spec, $pipes);
|
H A D | ghsa-pc52-254m-w9w7_1.phpt | 2 GHSA-54hq-v5wp-fqgv - proc_open does not correctly escape args for bat files 20 $proc = proc_open([$batch_file_path, "\"¬epad.exe"], $descriptorspec, $pipes);
|
H A D | ghsa-pc52-254m-w9w7_2.phpt | 2 GHSA-54hq-v5wp-fqgv - proc_open does not correctly escape args for cmd files 20 $proc = proc_open([$batch_file_path, "\"¬epad<>^()!.exe"], $descriptorspec, $pipes);
|
H A D | ghsa-pc52-254m-w9w7_3.phpt | 2 GHSA-54hq-v5wp-fqgv - proc_open does not correctly escape args for cmd executing batch files 20 $proc = proc_open(["cmd.exe", "/c", $batch_file_path, "\"¬epad.exe"], $descriptorspec, $pipes);
|
H A D | bug34794.phpt | 10 $process1 = proc_open('/bin/cat', array(0 => array('pipe', 'r'), 1 =>array('pipe', 'r')), $pipes1); 13 $process2 = proc_open('/bin/cat', array(0 => array('pipe', 'r'), 1 =>array('pipe', 'r')), $pipes2);
|
H A D | gh12655.phpt | 2 GH-12655 (proc_open(): Argument #2 ($descriptor_spec) must only contain arrays and streams [Descrip… 17 $proc = proc_open(PHP_BINARY, $descriptor_spec, $pipes);
|
/PHP-8.3/ext/standard/tests/file/ |
H A D | proc_open_with_wrong_resource_type.phpt | 2 proc_open does not leak memory when called with wrong resource type in descriptorspec 7 proc_open('not_a_real_command_but_I_dont_care', array(0 => $context), $pipes); 14 proc_open(): supplied resource is not a valid stream resource
|
H A D | proc_open01.phpt | 2 proc_open() regression test 1 (proc_open() leak) 11 $proc = proc_open(
|
H A D | bug69442.phpt | 2 proc_open with PTY closes incorrect file descriptor 10 $process = proc_open('echo "foo";', $descriptors, $pipes); 29 $process = proc_open($cmd, $descriptors, $pipes);
|
/PHP-8.3/ext/readline/tests/ |
H A D | bug77812-libedit.phpt | 8 if (!function_exists('proc_open')) die('skip proc_open() not available'); 15 $proc = proc_open("$php $ini -a", $descriptorspec, $pipes);
|
H A D | bug77812-readline.phpt | 8 if (!function_exists('proc_open')) die('skip proc_open() not available'); 15 $proc = proc_open("$php $ini -a", $descriptorspec, $pipes);
|
/PHP-8.3/ext/openssl/tests/ |
H A D | bug76705.phpt | 7 if (!function_exists("proc_open")) die("skip no proc_open");
|
/PHP-8.3/ext/standard/tests/streams/ |
H A D | bug64770.phpt | 2 Bug #64770 stream_select() fails with pipes from proc_open() 15 $p = proc_open($cmd, $descs, $pipes, '.', NULL, $other_opts);
|