Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'run python using vb.net
- Dim psi = New ProcessStartInfo("c:\python27\python.exe", "myPythonScript.py")
- Dim proc = Process.Start(psi)
- proc.WaitForExit()
- If proc.ExitCode <> 0 then throw new Exception(" Script Failed")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement