Searched refs:shell_exec (Results 1 – 25 of 25) sorted by relevance
/php-src/sapi/cli/tests/ |
H A D | cli_process_title_windows.phpt | 7 if (shell_exec('PowerShell -Help') === NULL) 14 // command "get-process" is executed using shell_exec, it overwrites the ConsoleTitle with 19 // back to the original once shell_exec is done. 39 …$loaded_title = shell_exec("PowerShell -NoProfile \"get-process cmd*,powershell* | Select-Object m…
|
H A D | php_cli_server_pdeathsig.phpt | 21 return split_words(shell_exec('pgrep -P ' . $ppid)); 25 return split_words(shell_exec('ps -o pid= -p ' . join(',', $pids)));
|
H A D | cli_process_title_unix.phpt | 32 $ps_output = shell_exec("ps -p $pid -o $ps_process_title_field | tail -n 1");
|
H A D | sapi_windows_set_ctrl_handler.phpt | 42 echo trim(shell_exec($cmd)) . "\n";
|
/php-src/tests/basic/ |
H A D | bug71273.phpt | 8 $out = shell_exec($cmd);
|
/php-src/Zend/tests/ |
H A D | bug64677.phpt | 10 $cat->show_output('Files: ', trim((string) `cd .`)); // this gives invalid args to shell_exec
|
H A D | new_oom.phpt | 15 $output = shell_exec("$php --no-php-ini $file $class 2>&1");
|
H A D | bug55509.phpt | 52 $s = shell_exec("wmic OS get FreeVirtualMemory /Value 2>nul");
|
/php-src/sapi/cgi/tests/ |
H A D | bug75574_utf8.phpt | 22 echo shell_exec("$php -n -f $fn");
|
H A D | ghsa-3qgc-jrrr-25jv.phpt | 8 $codepage = trim(shell_exec("powershell Get-ItemPropertyValue HKLM:\\SYSTEM\\CurrentControlSet\\Con…
|
/php-src/.github/ |
H A D | nightly_matrix.php | 19 $current_commit_hash = trim(shell_exec('git rev-parse origin/' . $branch));
|
/php-src/ext/spl/tests/ |
H A D | SplFileInfo_getInode_basic.phpt | 21 $result = shell_exec('ls -i SplFileInfo_getInode_basic.txt');
|
/php-src/ext/standard/tests/directory/ |
H A D | bug74589_utf8.phpt | 33 echo shell_exec("$php -n $test_file_escaped");
|
/php-src/ |
H A D | run-tests.php | 837 $php_info = shell_exec("$php_escaped $pass_options $info_params $no_file_cache \"$info_file\""); 838 define('TESTED_PHP_VERSION', shell_exec("$php_escaped -n -r \"echo PHP_VERSION;\"")); 842 …$php_info_cgi = shell_exec("$php_cgi_escaped $pass_options $info_params $no_file_cache -q \"$info_… 851 …$phpdbg_info = shell_exec("$phpdbg_escaped $pass_options $info_params $no_file_cache -qrr \"$info_…
|
/php-src/ext/standard/tests/streams/ |
H A D | bug78883.phpt | 25 shell_exec("taskkill /T /F /PID {$pid} 2>nul");
|
/php-src/ext/standard/tests/general_functions/ |
H A D | proc_nice_basic.phpt | 21 $res = shell_exec('ps -p ' . $id .' -o "pid,nice"');
|
H A D | proc_nice_basic-win.phpt | 15 if (!shell_exec("where wmic 2>nul")) {
|
H A D | ghsa-9fcc-425m-g385_001.phpt | 7 if (!str_contains(shell_exec("does_not_exist.exe 2>&1"), "is not recognized as an internal or exter…
|
H A D | ghsa-9fcc-425m-g385_002.phpt | 7 if (!str_contains(shell_exec("does_not_exist.exe 2>&1"), "is not recognized as an internal or exter…
|
/php-src/ext/standard/tests/file/windows_mb_path/ |
H A D | bug75063_utf8.phpt | 50 print(shell_exec(getenv('TEST_PHP_EXECUTABLE_ESCAPED') . " -nf code.php"));
|
H A D | bug75063_cp1251.phpt | 52 print(shell_exec(getenv('TEST_PHP_EXECUTABLE_ESCAPED') . " -n -d default_charset=cp1251 -f code.php…
|
H A D | util.inc | 37 $out = trim(shell_exec($cmd));
|
/php-src/ext/standard/ |
H A D | exec.c | 503 PHP_FUNCTION(shell_exec) argument
|
H A D | basic_functions.stub.php | 2724 function shell_exec(string $command): string|false|null {}
|
H A D | basic_functions_arginfo.h | 2600 ZEND_FUNCTION(shell_exec); 3201 ZEND_FE(shell_exec, arginfo_shell_exec)
|
Completed in 78 milliseconds