< prev index next >
src/jdk.jpackage/windows/native/libapplauncher/WindowsPlatform.cpp
Print this page
*** 703,713 ****
iterator != Arguments.end(); iterator++) {
command += TString(_T(" ")) + *iterator;
}
if (::CreateProcess(Application.data(), (wchar_t*)command.data(), NULL,
! NULL, FALSE, 0, NULL, NULL, &startupInfo, &FProcessInfo) == FALSE) {
TString message = PlatformString::Format(
_T("Error: Unable to create process %s"),
Application.data());
throw Exception(message);
} else {
--- 703,714 ----
iterator != Arguments.end(); iterator++) {
command += TString(_T(" ")) + *iterator;
}
if (::CreateProcess(Application.data(), (wchar_t*)command.data(), NULL,
! NULL, FALSE, 0, NULL, NULL, &startupInfo, &FProcessInfo)
! == FALSE) {
TString message = PlatformString::Format(
_T("Error: Unable to create process %s"),
Application.data());
throw Exception(message);
} else {
< prev index next >