Correct way to launch app that remains running

Jul 1, 2013 at 10:02 PM
I want to start OpenVPN on a VirtualBox VM from a c# app using SSH.NET. When OpenVPN has started, it will remain running for hours. While OpenVPN is running, the c# app should be able to run other SSH commands on the same VM. Even if the c# app terminates, OpenVPN should remain running.

I have attempted using SSHClient.RunCommand() but this is obviously not the correct method for apps that should remain running.

Since there is no documentation I am unsure what is the correct way to do this.