mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-22 05:03:56 +00:00
Support hardcoded environment variables
This commit is contained in:
@@ -226,6 +226,10 @@ namespace
|
||||
proc_params.StandardInput = STDIN_HANDLE.h;
|
||||
proc_params.StandardError = proc_params.StandardOutput;
|
||||
|
||||
proc_params.Environment = allocator.copy_string(L"=::=::\\");
|
||||
allocator.copy_string(L"EMULATOR=1");
|
||||
allocator.copy_string(L"COMPUTERNAME=momo");
|
||||
allocator.copy_string(L"");
|
||||
|
||||
std::wstring command_line = L"\"" + file.wstring() + L"\"";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user