Konwertuj ciąg na LPWSTR
std::wstring path = L"your_path";
CreateProcessW(NULL, &path[0], NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);
Obnoxious Oystercatcher
std::wstring path = L"your_path";
CreateProcessW(NULL, &path[0], NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);