[mono-vb] Need help calling python program through mono
KPS1
ksolomons at gmail.com
Wed Sep 16 10:24:07 EDT 2009
KPS1 wrote:
>
> 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()
>
>
Solved... http://ubuntuforums.org/showthread.php?p=7955421#post7955421
http://ubuntuforums.org/showthread.php?p=7955421#post7955421
--
View this message in context: http://www.nabble.com/Need-help-calling-python-program-through-mono-tp25458293p25473532.html
Sent from the Mono - VB mailing list archive at Nabble.com.
More information about the Mono-vb
mailing list