It looks like you are on windows. Its probably best not to rely on Nim's crossplatform API and reach for win32 method directly: See <https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createprocessw>
You can supply the proper parameters to make it look like a completely independent process.