How to execute a command on Console2 through VB.NET?

105 Views Asked by At

is there a way to execute a command on Console2 from a VB.NET program?This is what i've tried, but doesn't seems to work. Thanks in advance.

Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Shell("console2.exe -r python script.py")

    Application.Exit()
End Sub

End Class
0

There are 0 best solutions below