Is it possible to return the arguments from the processPath in this example? This might make more sense, sorry.
processPath
Dim processName As String D
A simple (and clean) way to accomplish this would be to just modify your Sub Main as follows,
Sub Main
Sub Main(args As String()) ' CMD Arguments are contained in the args variable Console.WriteLine("GetCommandLineArgs: {0}", String.Join(", ", args)) End Sub