Home
last modified time | relevance | path

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

/PHP-8.0/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 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-8.0/tests/basic/
H A Dbug71273.phpt8 $out = shell_exec($cmd);
/PHP-8.0/Zend/tests/
H A Dbug64677.phpt10 $cat->show_output('Files: ', trim(`cd .`)); // this gives invalid args to shell_exec
H A Dbug55509.phpt49 $s = trim(shell_exec("wmic OS get FreeVirtualMemory /Value 2>nul"));
/PHP-8.0/sapi/cgi/tests/
H A Dbug75574_utf8.phpt22 echo shell_exec("$php -n -f $fn");
/PHP-8.0/.github/
H A Dnightly_matrix.php31 $current_commit_hash = trim(shell_exec('git rev-parse origin/' . $branch));
/PHP-8.0/ext/spl/tests/
H A DSplFileInfo_getInode_basic.phpt21 $result = shell_exec('ls -i SplFileInfo_getInode_basic.txt');
/PHP-8.0/ext/standard/tests/directory/
H A Dbug74589_utf8.phpt32 echo shell_exec("$php -n $test_file");
/PHP-8.0/ext/standard/tests/general_functions/
H A Dproc_nice_basic.phpt21 $res = shell_exec('ps -p ' . $id .' -o "pid,nice"');
/PHP-8.0/ext/standard/tests/streams/
H A Dbug78883.phpt25 shell_exec("taskkill /T /F /PID {$pid} 2>nul");
/PHP-8.0/ext/standard/tests/file/windows_mb_path/
H A Dbug75063_utf8.phpt50 print(shell_exec(getenv('TEST_PHP_EXECUTABLE') . " -nf code.php"));
H A Dbug75063_cp1251.phpt52 print(shell_exec(getenv('TEST_PHP_EXECUTABLE') . " -n -d default_charset=cp1251 -f code.php"));
H A Dutil.inc37 $out = trim(shell_exec($cmd));
/PHP-8.0/
H A Drun-tests.php999 $autoconf = shell_exec(getenv('PHP_AUTOCONF') . ' --version');
1001 $autoconf = shell_exec('autoconf --version');
1005 $libtool = shell_exec(INIT_DIR . '/libtool --version');
1008 $sys_libtool_path = shell_exec(__DIR__ . '/build/shtool path glibtool libtool');
1011 … $sys_libtool = shell_exec(str_replace("\n", "", $sys_libtool_path) . ' --version');
1021 $compiler = shell_exec(getenv('CC') . " $flag 2>&1");
1026 $ldd = shell_exec("ldd $php 2>/dev/null");
1033 $failed_tests_data .= "Bison:\n" . shell_exec('bison --version 2>/dev/null') . "\n";
1042 …$failed_tests_data .= shell_exec($php . ' -ddisplay_errors=stderr -dhtml_errors=0 -i 2> /dev/null'…
/PHP-8.0/ext/standard/
H A Dexec.c513 PHP_FUNCTION(shell_exec) argument
H A Dbasic_functions.stub.php745 function shell_exec(string $command): string|false|null {} function
H A Dbasic_functions_arginfo.h2535 ZEND_FUNCTION(shell_exec);
3172 ZEND_FE(shell_exec, arginfo_shell_exec)

Completed in 49 milliseconds