Home
last modified time | relevance | path

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

/PHP-7.4/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-7.4/ext/standard/
H A Dexec.h27 PHP_FUNCTION(shell_exec);
H A Dexec.c528 PHP_FUNCTION(shell_exec) argument
H A Dbasic_functions.c2876 PHP_FE(shell_exec, arginfo_shell_exec)
/PHP-7.4/tests/output/
H A Dbug74815.phpt8 echo shell_exec("$php -n -d error_log=".__DIR__."/error_log.tmp -d error_reporting=E_ALL -d log_err…
/PHP-7.4/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-7.4/tests/basic/
H A Dbug71273.phpt14 $out = shell_exec($cmd);
/PHP-7.4/sapi/cgi/tests/
H A Dbug75574_utf8.phpt22 echo shell_exec("$php -n -f $fn");
/PHP-7.4/ext/spl/tests/
H A DSplFileInfo_getInode_basic.phpt21 $result = shell_exec('ls -i SplFileInfo_getInode_basic.txt');
/PHP-7.4/ext/standard/tests/directory/
H A Dbug74589_utf8.phpt32 echo shell_exec("$php -n $test_file");
/PHP-7.4/ext/standard/tests/streams/
H A Dbug78883.phpt25 shell_exec("taskkill /T /F /PID {$pid} 2>nul");
/PHP-7.4/ext/standard/tests/general_functions/
H A Dproc_nice_basic.phpt21 $res = shell_exec('ps -p ' . $id .' -o "pid,nice"');
/PHP-7.4/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-7.4/
H A Drun-tests.php983 $autoconf = shell_exec(getenv('PHP_AUTOCONF') . ' --version');
985 $autoconf = shell_exec('autoconf --version');
989 $libtool = shell_exec(INIT_DIR . '/libtool --version');
992 $sys_libtool_path = shell_exec(__DIR__ . '/build/shtool path glibtool libtool');
995 … $sys_libtool = shell_exec(str_replace("\n", "", $sys_libtool_path) . ' --version');
1005 $compiler = shell_exec(getenv('CC') . " $flag 2>&1");
1010 $ldd = shell_exec("ldd $php 2>/dev/null");
1017 $failed_tests_data .= "Bison:\n" . shell_exec('bison --version 2>/dev/null') . "\n";
1026 …$failed_tests_data .= shell_exec($php . ' -ddisplay_errors=stderr -dhtml_errors=0 -i 2> /dev/null'…
H A DNEWS989 . Fixed bug #79330 (shell_exec() silently truncates after a null byte). (stas)

Completed in 44 milliseconds