Calling external applications from User control in EP

During EP development , sometimes we need to call third party or external applications. If you need more control over this third party call, for example you want to make sure that the application starts in an invisible mode or the process needs to be killed after a certain time. This way you can hide the window in case a success message ( 1 file successfully exported) is returned. You can do the same with using WinAPI::shellExecute from X++ and call this code from Visual Studio , but you will not find it as flexible as calling a process from Visual Studio to invoke the external application.