Searched refs:cmdw (Results 1 – 2 of 2) sorted by relevance
/PHP-8.2/TSRM/ |
H A D | tsrm_win32.c | 457 wchar_t *cmdw = NULL, *cwdw = NULL, *envw = NULL; in popen_ex() local 486 cmdw = php_win32_cp_any_to_w(cmd); in popen_ex() 487 if (!cmdw) { in popen_ex() 496 free(cmdw); in popen_ex() 506 free(cmdw); in popen_ex() 553 free(cmdw); in popen_ex() 560 …res = CreateProcessAsUserW(token_user, NULL, cmdw, &security, &security, security.bInheritHandle, … in popen_ex() 563 …res = CreateProcessW(NULL, cmdw, &security, &security, security.bInheritHandle, dwCreateFlags, env… in popen_ex() 566 free(cmdw); in popen_ex()
|
/PHP-8.2/ext/standard/ |
H A D | proc_open.c | 658 static zend_result convert_command_to_use_shell(wchar_t **cmdw, size_t cmdw_len) in convert_command_to_use_shell() argument 668 if (_snwprintf(cmdw_shell, len, L"%hs /s /c \"%s\"", COMSPEC_NT, *cmdw) == -1) { in convert_command_to_use_shell() 674 free(*cmdw); in convert_command_to_use_shell() 675 *cmdw = cmdw_shell; in convert_command_to_use_shell() 1089 wchar_t *cmdw = NULL, *cwdw = NULL, *envpw = NULL; in PHP_FUNCTION() local 1225 cmdw = php_win32_cp_conv_any_to_w(ZSTR_VAL(command_str), ZSTR_LEN(command_str), &cmdw_len); in PHP_FUNCTION() 1226 if (!cmdw) { in PHP_FUNCTION() 1232 if (convert_command_to_use_shell(&cmdw, cmdw_len) == FAILURE) { in PHP_FUNCTION() 1236 newprocok = CreateProcessW(NULL, cmdw, &php_proc_open_security, in PHP_FUNCTION() 1384 free(cmdw); in PHP_FUNCTION()
|
Completed in 12 milliseconds