std::wstring path = L"your_path"; CreateProcessW(NULL, &path[0], NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);