OSX 10.6.8 RS2012
Ich starte mit einer Shell ein Python Script, das funktioniert auch, aber nur mit der MSGBox.
Lasse ich den Code für die MSGBox weg, funktioniert es nicht mehr.
Wo ist der Fehler?
dim mshell as new Shell
mShell.Mode = 2
dim s as string
s="/usr/local/bin/python3.4 "+Window1.title
mshell.Execute s
If mshell.errorCode=0 then
MSGBox str(mshell.Result)
ShellOutput.Text=str(mshell.Result)
else
MSGBox ("Error "+Str(mshell.ErrorCode))
end if