Home
last modified time | relevance | path

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

/php-src/sapi/cli/tests/
H A Dcli_process_title_windows.phpt7 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 Dphp_cli_server_pdeathsig.phpt21 return split_words(shell_exec('pgrep -P ' . $ppid));
25 return split_words(shell_exec('ps -o pid= -p ' . join(',', $pids)));
H A Dcli_process_title_unix.phpt32 $ps_output = shell_exec("ps -p $pid -o $ps_process_title_field | tail -n 1");
H A Dsapi_windows_set_ctrl_handler.phpt42 echo trim(shell_exec($cmd)) . "\n";
/php-src/tests/basic/
H A Dbug71273.phpt8 $out = shell_exec($cmd);
/php-src/Zend/tests/
H A Dbug64677.phpt10 $cat->show_output('Files: ', trim((string) `cd .`)); // this gives invalid args to shell_exec
H A Dnew_oom.phpt15 $output = shell_exec("$php --no-php-ini $file $class 2>&1");
H A Dbug55509.phpt52 $s = shell_exec("wmic OS get FreeVirtualMemory /Value 2>nul");
/php-src/sapi/cgi/tests/
H A Dbug75574_utf8.phpt22 echo shell_exec("$php -n -f $fn");
H A Dghsa-3qgc-jrrr-25jv.phpt8 $codepage = trim(shell_exec("powershell Get-ItemPropertyValue HKLM:\\SYSTEM\\CurrentControlSet\\Con…
/php-src/.github/
H A Dnightly_matrix.php19 $current_commit_hash = trim(shell_exec('git rev-parse origin/' . $branch));
/php-src/ext/spl/tests/
H A DSplFileInfo_getInode_basic.phpt21 $result = shell_exec('ls -i SplFileInfo_getInode_basic.txt');
/php-src/ext/standard/tests/directory/
H A Dbug74589_utf8.phpt33 echo shell_exec("$php -n $test_file_escaped");
/php-src/
H A Drun-tests.php837 $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 Dbug78883.phpt25 shell_exec("taskkill /T /F /PID {$pid} 2>nul");
/php-src/ext/standard/tests/general_functions/
H A Dproc_nice_basic.phpt21 $res = shell_exec('ps -p ' . $id .' -o "pid,nice"');
H A Dproc_nice_basic-win.phpt15 if (!shell_exec("where wmic 2>nul")) {
H A Dghsa-9fcc-425m-g385_001.phpt7 if (!str_contains(shell_exec("does_not_exist.exe 2>&1"), "is not recognized as an internal or exter…
H A Dghsa-9fcc-425m-g385_002.phpt7 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 Dbug75063_utf8.phpt50 print(shell_exec(getenv('TEST_PHP_EXECUTABLE_ESCAPED') . " -nf code.php"));
H A Dbug75063_cp1251.phpt52 print(shell_exec(getenv('TEST_PHP_EXECUTABLE_ESCAPED') . " -n -d default_charset=cp1251 -f code.php…
H A Dutil.inc37 $out = trim(shell_exec($cmd));
/php-src/ext/standard/
H A Dexec.c503 PHP_FUNCTION(shell_exec) argument
H A Dbasic_functions.stub.php2724 function shell_exec(string $command): string|false|null {}
H A Dbasic_functions_arginfo.h2600 ZEND_FUNCTION(shell_exec);
3201 ZEND_FE(shell_exec, arginfo_shell_exec)

Completed in 78 milliseconds