[Gambas-user] (no subject)
Christopher Brian Jack
brian at ...1334...
Thu Feb 2 18:27:54 CET 2006
The documentation seems off for the SHELL command:
As per the offline docs in 1.9.23:
SHELL "<cmd>[ <args>]" ( READ | WRITE | READ WRITE ) AS <var>
When trying the line:
...
16: PRIVATE video AS Process
...
'MainScreen is the name of a Form
285: SHELL "mplayer -wid " & Str(MainScreen.handle) & " -slave -noconsolecontrols -nojoystick -nolirc -nomouseinput" FOR READ WRITE AS video
I get the error:
Unexpected AS in Line 125 of Intro.module
So what is the correct way to use shell to drive a console command
On another note mplayer seems not to like what the handle property is
giving back as an ID ([BadWindow] is XLib's complaint).
.=================================================.
| Christopher BRIAN Jack aka "Gau of the Veldt" |
`================================================='
More information about the User
mailing list