<p>The easiest way to think of my question is to think of a single, simple unix command (albeit, this is for windows) and I need progmatic access to run it. </p>

<p>I have a single command-line based executable that performs some unit of work. I want to call that executable with the .net process library, as I can do with any other executable.</p>

<p>However, it dawned on me that there is potential for the dll to become useless or break with unintended updates to the executable or a non-existant executable.</p>

<p>Is it possible to run the executable from the Process object in the .net framework, as I would an external executable file?</p>

[{'answer_id': 60150, 'author': 'Iain Holder', 'author_id': 1122, 'author_profile': 'https://Stackoverflow.com/users/1122', 'pm_score': 0, 'selected': False, 'text': '<p>Is this where <a href="http://msdn.microsoft.com/en-us/magazine/cc164123.aspx" rel="nofollow noreferrer">PInvoke</a> can help?</p>\n'}, {'answer_id': 60166, 'author': 'garretmagin', 'author_id': 6208, 'author_profile': 'https://Stackoverflow.com/users/6208', 'pm_score': 2, 'selected': True, 'text': "<p>No, you can't execute it directly. You could probably unpack it to a temporary directory and execute it from there.</p>\n"}, {'answer_id': 60200, 'author': 'Steven Murawski', 'author_id': 1233, 'author_profile': 'https://Stackoverflow.com/users/1233', 'pm_score': 0, 'selected': False, 'text': '<p>Depending on the functionality of the command line program you want to run, it might be possible to duplicate the functionality in PowerShell, where you can embed the PowerShell runtime in your .NET application.</p>\n'}]
['https://Stackoverflow.com/questions/60143', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/5619/']