Home
last modified time | relevance | path

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

12345

/PHP-8.0/ext/standard/tests/general_functions/
H A Dproc_open_pipes3.phpt2 proc_open() with invalid pipes
14 proc_open("$php -n $callee", $spec, $pipes);
18 proc_open("$php -n $callee", $spec, $pipes);
24 proc_open("$php -n $callee", $spec, $pipes);
28 proc_open("$php -n $callee", $spec, $pipes);
34 Warning: proc_open(): pi is not a valid descriptor spec/mode in %s on line %d
35 proc_open(): Argument #2 ($descriptor_spec) must only contain arrays and streams
47 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 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);
35 $proc = proc_open([$php, '-r', 'echo "Hello World!\n";'], $ds, $pipes);
44 $proc = proc_open($cmd, $ds, $pipes);
49 $proc = proc_open($cmd, $ds, $pipes, null, $env);
64 $proc = proc_open($cmd, $ds, $pipes);
71 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";
21 $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";
21 $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)
18 $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 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 Dproc_open_sockets1.phpt2 proc_open() with output socketpairs
17 $proc = proc_open($cmd, $spec, $pipes);
H A Dproc_open_sockets3.phpt2 proc_open() with socket and pipe
38 $proc = proc_open($cmd, $spec, $pipes);
/PHP-8.0/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.0/ext/readline/tests/
H A Dbug77812-libedit.phpt7 if (!function_exists('proc_open')) die('skip proc_open() not available');
14 $proc = proc_open("$php $ini -a", $descriptorspec, $pipes);
H A Dbug77812-readline.phpt7 if (!function_exists('proc_open')) die('skip proc_open() not available');
14 $proc = proc_open("$php $ini -a", $descriptorspec, $pipes);
/PHP-8.0/ext/openssl/tests/
H A Dbug76705.phpt6 if (!function_exists("proc_open")) die("skip no proc_open");
H A Dbug73072.phpt6 if (!function_exists("proc_open")) die("skip no proc_open");
H A Dbug62890.phpt6 if (!function_exists("proc_open")) die("skip no proc_open");
H A Dbug46127.phpt6 if (!function_exists("proc_open")) die("skip no proc_open");
/PHP-8.0/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);
H A Dbug60602.phpt2 Bug #60602 proc_open() modifies environment if it contains arrays
15 $p = proc_open($cmd, $descs, $pipes, '.', $environment);

Completed in 49 milliseconds

12345