[Gambas-user] watch+fclock = Error opening terminal: unknown.

Willy Raets willy at ...2734...
Fri Apr 5 22:37:59 CEST 2013


On Fri, 2013-04-05 at 12:37 -0700, abbat81 wrote:
> Hallo!
> 
> In LXterminal I can execute successfully next command:
> 
> "watch flock -n /home/user/Shell.lock /home/user/Onix_Shell.gambas"
> 
> But I can't do it in Gambas.
> 
> Shell "watch flock -n /home/user/Shell.lock /home/user/Onix_Shell.gambas"
> 
> gives me: "Error opening terminal: unknown."
> 
> Is there any other way to execute that command?
> 
> Thanks

You could give Exec a try:

Exec ["watch", "flock", "-n", "/home/user/Shell.lock",
"home/user/Onix_Shell.gambas"]


> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

-- 
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org








More information about the User mailing list