[Gambas-user] SHELL syntax not as advertised???
Christopher Brian Jack
brian at ...1334...
Thu Feb 2 18:54:48 CET 2006
I'm bad for forgetting subject topics :(
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" |
`================================================='
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list