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

2013-04-06 Thread Jussi Lahtinen
I'm on Xubuntu 12.04 64bit, and installed Gambas3 revision is 5607. Interesting... $ watch --version 0.3.0 Jussi On Sat, Apr 6, 2013 at 2:30 AM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Le 06/04/2013 01:25, Jussi Lahtinen a écrit : > > I cannot get either of them working... >

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

2013-04-05 Thread Benoît Minisini
Le 06/04/2013 01:25, Jussi Lahtinen a écrit : > I cannot get either of them working... > > Jussi > > I use Ubuntu 12.10. $ watch --version watch from procps-ng 3.3.3 And you? -- Benoît Minisini -- Minimize network dow

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

2013-04-05 Thread Jussi Lahtinen
I cannot get either of them working... Jussi On Sat, Apr 6, 2013 at 2:21 AM, Benoît Minisini wrote: > Le 06/04/2013 01:17, Benoît Minisini a écrit : > > Le 06/04/2013 01:03, Jussi Lahtinen a écrit : > >> Same error with my system, when using this piece of code (but of > >> course the > >> erro

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

2013-04-05 Thread Benoît Minisini
Le 06/04/2013 01:17, Benoît Minisini a écrit : > Le 06/04/2013 01:03, Jussi Lahtinen a écrit : >> Same error with my system, when using this piece of code (but of >> course the >> error message is not visible without handling >> _Read event): >> >> Shell "watch echo 'test'" For Input Output As "Pro

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

2013-04-05 Thread Benoît Minisini
Le 06/04/2013 01:03, Jussi Lahtinen a écrit : > Same error with my system, when using this piece of code (but of course the > error message is not visible without handling > _Read event): > > Shell "watch echo 'test'" For Input Output As "Process" > > > Jussi > > `Exec ["watch", "echo", "test"]` s

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

2013-04-05 Thread Jussi Lahtinen
Same error with my system, when using this piece of code (but of course the error message is not visible without handling _Read event): Shell "watch echo 'test'" For Input Output As "Process" Jussi On Sat, Apr 6, 2013 at 1:47 AM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Le 06

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

2013-04-05 Thread Benoît Minisini
Le 06/04/2013 00:14, abbat81 a écrit : > It's is to difficult. > > But can be much easy. > > All I need is to start my application again if it will be closed. Nothing > more to INPUT/OUTPUT. > > A working command is: > "watch flock -n /home/user/Shell.lock /home/user/Onix_Shell.gambas" > > But it

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

2013-04-05 Thread abbat81
It's is to difficult. But can be much easy. All I need is to start my application again if it will be closed. Nothing more to INPUT/OUTPUT. A working command is: "watch flock -n /home/user/Shell.lock /home/user/Onix_Shell.gambas" But it works only in terminal, not in Gambas: Shell "watch floc

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

2013-04-05 Thread Willy Raets
On Fri, 2013-04-05 at 14:14 -0700, abbat81 wrote: > Thaks for reply. > > I don't need input/outout. I don't know if you need input/output. You just asked if the command could be run in an other manner and the answer to that is Exec. Do you need to feed the command input? Do you need to react to

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

2013-04-05 Thread abbat81
Thaks for reply. I don't need input/outout. All I need is to make "watch" to run my application every 2 sec. if it down. -- View this message in context: http://gambas.8142.n7.nabble.com/watch-flock-Error-opening-terminal-unknown-tp41634p41637.html Sent from the gambas-user mailing list archi

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

2013-04-05 Thread Benoît Minisini
Le 05/04/2013 22:37, Willy Raets a écrit : > 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

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

2013-04-05 Thread Willy Raets
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.ga

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

2013-04-05 Thread abbat81
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 ot