A recent job called for editing SQL Server T-SQL code that called an executable. This particular code runs an SSIS package, but it works the same for any executable.
The code sample below shows how to run any executable code from a stored procedure