Home
last modified time | relevance | path

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

1234

/PHP-7.4/ext/standard/tests/general_functions/
H A Dproc_open_redirect.phpt2 Redirection support in proc_open
7 var_dump(proc_open([$php], [['redirect']], $pipes));
8 var_dump(proc_open([$php], [['redirect', 'foo']], $pipes));
9 var_dump(proc_open([$php], [['redirect', 42]], $pipes));
13 $proc = proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['redirect', 1]], $pipes);
20 $proc = proc_open($cmd, [1 => ['file', $fileName, 'w'], 2 => ['redirect', 1]], $pipes);
28 $proc = proc_open($cmd, [1 => $file, 2 => ['redirect', 1]], $pipes);
36 $proc = proc_open($cmd, [2 => ['redirect', 1]], $pipes);
41 Warning: proc_open(): Missing redirection target in %s on line %d
44 Warning: proc_open(): Redirection target must be an integer in %s on line %d
[all …]
H A Dproc_open_pipes3.phpt2 proc_open() with invalid pipes
14 proc_open("$php -n $callee", $spec, $pipes);
17 proc_open("$php -n $callee", $spec, $pipes);
20 proc_open("$php -n $callee", $spec, $pipes);
24 proc_open("$php -n $callee", $spec, $pipes);
30 Warning: proc_open(): pi is not a valid descriptor spec/mode in %s on line %d
32 Warning: proc_open(): Descriptor item must be either an array or a File-Handle in %s on line %d
44 Warning: proc_open(test): failed to open stream: %s in %s on line %d
H A Dproc_open_array.phpt2 Using proc_open() with a command array (no shell)
14 var_dump(proc_open([], $ds, $pipes));
17 var_dump(proc_open(["php\0oops"], $ds, $pipes));
20 var_dump(proc_open(["php", "arg\0oops"], $ds, $pipes));
23 $proc = proc_open([$php, '-r', 'echo "Hello World!\n";'], $ds, $pipes);
32 $proc = proc_open($cmd, $ds, $pipes);
37 $proc = proc_open($cmd, $ds, $pipes, null, $env);
52 $proc = proc_open($cmd, $ds, $pipes);
59 Warning: proc_open(): Command array must have at least one element in %s on line %d
63 Warning: proc_open(): Command array element 1 contains a null byte in %s on line %d
[all …]
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-mb1.phpt2 proc_open without bypass_shell subprocess parameter passing
6 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
6 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)
18 $process = proc_open('nothing', $description, $pipes, NULL, $env);
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 Dbug78569.phpt2 Bug #78569 (proc_open() may require extra quoting)
15 $proc = proc_open($cmd, $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 Dproc_open02.phpt2 proc_open
12 $cat = proc_open(
/PHP-7.4/ext/standard/
H A Dexec.h28 PHP_FUNCTION(proc_open);
33 PHP_MINIT_FUNCTION(proc_open);
/PHP-7.4/ext/standard/tests/file/
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);
H A Dproc_open01.phpt2 proc_open() regression test 1 (proc_open() leak)
11 $proc = proc_open(
/PHP-7.4/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-7.4/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");
H A Dstream_verify_peer_name_001.phpt6 if (!function_exists("proc_open")) die("skip no proc_open");
/PHP-7.4/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 29 milliseconds

1234