C # - Executing Exe Without Using System.Diagnostics.Process.Start

I have a program that crashes when I execute it with System.Diagnostics.Process.Start in C #, but works fine if I execute a shortcut or batch file that exe launches. Are there alternative ways to run C # programs, or any reason why Process.Start might not work compared to a shortcut or batch file? I would prefer not to create a batch or shortcut to launch the application.

thank

+3
source share
2 answers

, " ". , EXE, , , . , , , , WindowsFolder\system32.

, ProcessStartInfo.WorkingDirectory. , DLL, , , , , , .

+4

, , , . Process.Start, .

- , ? , , ?

+2

Source: https://habr.com/ru/post/1738071/


All Articles