I got a problem with calling an new process.
I have a WIN-Form, this is locatet in C:\TesterV4\Launcher.exe
I call a Process in C:\TesterV4\Data\Tests\Manufacturer\device.exe
The process is called with:
ProcessStartInfo psi = new ProcessStartInfo();
psi.FileName = opentest;
psi.WindowStyle = ProcessWindowStyle.Hidden;
When I use relative file paths in device.exe, (e.g. @"Data\anything.pdf") i get for example:
what I need and what should happen is:
is there any reason to start device.exe without any dependency from launcher.exe and its directory?
When I start device.exe directly via double click, everything is working well :/
Thank you for your help.