I want to launch myapp.exe --my_arg from mylauncher.exe
-
Find parent process id
tasklist /fo list /fi "IMAGENAME eq mylauncher.exe"
-
Launch the child process using the parent process id
runfromprocess-rs.exe $parent_process_id myapp.exe --my_arg