[mono-vb] Need help calling python program through mono

KPS1 ksolomons at gmail.com
Tue Sep 15 15:23:28 EDT 2009

Need help I am trying to execute a python program, but have been very
My program needs to open a new terminal window, when the user click a
command button, and display/run the python program. When the python program
has finished it will close out.  Any advice would be greatly appreciated.

Currently this is what I have tried.

   Dim processStartInfo = New ProcessStartInfo("DISPLAY=:32 /root/rxvt
-geometry 80x25+150+150+sb -fn 9x15 -e /path/ProgramName", param)

                processStartInfo.UseShellExecute = False
                processStartInfo.ErrorDialog = False
                processStartInfo.WindowStyle = ProcessWindowStyle.Normal
                processStartInfo.RedirectStandardError = True
                processStartInfo.RedirectStandardInput = True
                processStartInfo.RedirectStandardOutput = True
                processStartInfo.CreateNoWindow = False

                Dim process As New Process()
                process.StartInfo = processStartInfo
                Dim processStarted As Boolean = process.Start()

View this message in context: http://www.nabble.com/Need-help-calling-python-program-through-mono-tp25458293p25458293.html
Sent from the Mono - VB mailing list archive at Nabble.com.

More information about the Mono-vb mailing list