chebum / Supervisor

Simple process supervisor for Windows
MIT License
74 stars 8 forks source link

Unhandled Exception: System.ComponentModel.Win32Exception: The system cannot find the file specified #4

Open esidegallery opened 2 years ago

esidegallery commented 2 years ago

The following error is occurring on Windows 10 x64.

Unhandled Exception: System.ComponentModel.Win32Exception: The system cannot find the file specified
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Supervisor.MonitorThread.DoMonitor()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
robertkjr3d commented 2 years ago

I have the same error!!

Testerboy21 commented 1 year ago

Anyone ever fix this?

chebum commented 1 year ago

@Testerboy21 its an open source software. You're free to fix it and make a pull request to merge the changes.

jompeterson commented 1 year ago

@esidegallery I had a similar issue. One thing to check for is if the path to the executable has spaces that you need to put 3 quotation marks before the path and two after the end of the path to the executable.

TheExpertNoob commented 1 year ago

Try running supervisor with an elevated (administrator) level shell.