Need help I am trying to execute a python program, but have been very
unsuccessful.
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.
_______________________________________________
Mono-vb mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-vb