Home
last modified time | relevance | path

Searched refs:proc_open (Results 1 – 25 of 125) sorted by relevance

12345

/PHP-8.3/ext/standard/tests/general_functions/
H A Dghsa-9fcc-425m-g385_002.phpt23 $proc = proc_open(["cmd.exe", "/c", $batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipes);
25 $proc = proc_open(["cmd.exe ", "/c", $batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipes…
27 $proc = proc_open(["cmd.exe. ", "/c", $batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipe…
33 $proc = proc_open(["cmd", "/c", $batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipes);
35 $proc = proc_open(["cmd ", "/c", $batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipes);
37 $proc = proc_open(["cmd. ", "/c", $batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipes);
38 $proc = proc_open(["cmd. ... ", "/c", $batch_file_path, "\"&notepad.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 Dproc_open_pipes3.phpt2 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 Dproc_open_redirect.phpt2 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 Dproc_open.phpt2 proc_open
6 if (!function_exists("proc_open")) echo "skip proc_open() is not available";
16 $cat = proc_open(
H A Dghsa-9fcc-425m-g385_001.phpt23 $proc = proc_open([$batch_file_path . ".", "\"&notepad.exe"], $descriptorspec, $pipes);
25 $proc = proc_open([$batch_file_path . " ", "\"&notepad.exe"], $descriptorspec, $pipes);
27 $proc = proc_open([$batch_file_path . ". ", "\"&notepad.exe"], $descriptorspec, $pipes);
29 $proc = proc_open([$batch_file_path . ". ... ", "\"&notepad.exe"], $descriptorspec, $pipes);
31 $proc = proc_open([$batch_file_path . ". ... . ", "\"&notepad.exe"], $descriptorspec, $pipes);
33 $proc = proc_open([$batch_file_path . ". ... . .", "\"&notepad.exe"], $descriptorspec, $pipes);
35 proc_open([$batch_file_path . ". .\\.. . .", "\"&notepad.exe"], $descriptorspec, $pipes);
52 Warning: proc_open(): CreateProcess failed, error code: 2 in %s on line %d
H A Dproc_open_array.phpt2 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 Dproc_open-mb1.phpt2 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 Dproc_open-mb0.phpt2 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 Dproc_open_null.phpt2 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 Dproc_open_pipes2.phpt2 proc_open() with no pipes
10 proc_open("$php -n $callee", $spec, $pipes);
H A Dbug72306.phpt2 Bug #72306 (Heap overflow through proc_open and $env parameter)
19 $process = proc_open('nothing', $description, $pipes, NULL, $env);
H A Dbug78569.phpt2 Bug #78569 (proc_open() may require extra quoting)
13 $proc = proc_open($cmd, $descriptorspec, $pipes);
H A Dbug44667.phpt2 Bug #44667 (proc_open() does not handle pipes with the mode 'wb' correctly)
15 $proc = proc_open('cat', $descriptor_spec, $pipes);
H A Dghsa-pc52-254m-w9w7_1.phpt2 GHSA-54hq-v5wp-fqgv - proc_open does not correctly escape args for bat files
20 $proc = proc_open([$batch_file_path, "\"&notepad.exe"], $descriptorspec, $pipes);
H A Dghsa-pc52-254m-w9w7_2.phpt2 GHSA-54hq-v5wp-fqgv - proc_open does not correctly escape args for cmd files
20 $proc = proc_open([$batch_file_path, "\"&notepad<>^()!.exe"], $descriptorspec, $pipes);
H A Dghsa-pc52-254m-w9w7_3.phpt2 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, "\"&notepad.exe"], $descriptorspec, $pipes);
H A Dbug34794.phpt10 $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 Dgh12655.phpt2 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 Dproc_open_with_wrong_resource_type.phpt2 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 Dproc_open01.phpt2 proc_open() regression test 1 (proc_open() leak)
11 $proc = proc_open(
H A Dbug69442.phpt2 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 Dbug77812-libedit.phpt8 if (!function_exists('proc_open')) die('skip proc_open() not available');
15 $proc = proc_open("$php $ini -a", $descriptorspec, $pipes);
H A Dbug77812-readline.phpt8 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 Dbug76705.phpt7 if (!function_exists("proc_open")) die("skip no proc_open");
/PHP-8.3/ext/standard/tests/streams/
H A Dbug64770.phpt2 Bug #64770 stream_select() fails with pipes from proc_open()
15 $p = proc_open($cmd, $descs, $pipes, '.', NULL, $other_opts);

Completed in 22 milliseconds

12345