Closed sappho192 closed 3 years ago
https://github.com/sappho192/IronworksTranslator/blob/badcae9f63022fff671dc7d6560e89f7b34836ec/IronworksTranslator/MainWindow.xaml.cs#L87
The way in above doesn't help at all. Check following links: https://dailydotnettips.com/calling-an-external-process-from-windows/ https://stackoverflow.com/questions/8434379/ https://stackoverflow.com/questions/17922725/ https://stackoverflow.com/questions/7189117/
Make new project that makes program that monitors both my program and phantomjs and kill the latter when former process is dead. Maybe it's ok to run it as child process, but additional procedure that only kills phantomjs will be required.
I made tiny example for this case : https://github.com/sappho192/WatchDogDotNet
I will use it to solve this issue.
Applied in commit 5a629625cddb1e8369e0ee76991fd7fe649da5b9
https://github.com/sappho192/IronworksTranslator/blob/badcae9f63022fff671dc7d6560e89f7b34836ec/IronworksTranslator/MainWindow.xaml.cs#L87
The way in above doesn't help at all. Check following links: https://dailydotnettips.com/calling-an-external-process-from-windows/ https://stackoverflow.com/questions/8434379/ https://stackoverflow.com/questions/17922725/ https://stackoverflow.com/questions/7189117/
Make new project that makes program that monitors both my program and phantomjs and kill the latter when former process is dead. Maybe it's ok to run it as child process, but additional procedure that only kills phantomjs will be required.