Re: [Gambas-user] Running programs from terminal and by double clicking.

2012-01-13 Thread Jussi Lahtinen
> That should be fixed in revision #4398. > Confirmed, it is fixed now! Jussi -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2

Re: [Gambas-user] Running programs from terminal and by double clicking.

2012-01-13 Thread Benoît Minisini
Le 08/01/2012 18:24, Jussi Lahtinen a écrit : > Example: > hProcess = Exec ["echo", "hello?"] For Input As "Process" > > In this case child process used to sent "hello?\n" to parent process, now > it will send "hello?\r\n". > > If you do this: > $ echo "hello?"> test.txt > > And open test.txt in h

Re: [Gambas-user] Running programs from terminal and by double clicking.

2012-01-08 Thread Jussi Lahtinen
Example: hProcess = Exec ["echo", "hello?"] For Input As "Process" In this case child process used to sent "hello?\n" to parent process, now it will send "hello?\r\n". If you do this: $ echo "hello?" > test.txt And open test.txt in hexeditor, you will see that only \n is really send to output. S

Re: [Gambas-user] Running programs from terminal and by double clicking.

2012-01-07 Thread Benoît Minisini
Le 07/01/2012 15:14, Jussi Lahtinen a écrit : >> The bug should be fixed in revision #4392. >> > > > Confirmed. > However the fix caused some changes, earlier only control character \n was > received, now there is \r also. > But I don't think this matters, it is just something to be taken into > co

Re: [Gambas-user] Running programs from terminal and by double clicking.

2012-01-07 Thread Jussi Lahtinen
> The bug should be fixed in revision #4392. > Confirmed. However the fix caused some changes, earlier only control character \n was received, now there is \r also. But I don't think this matters, it is just something to be taken into consideration. Jussi

Re: [Gambas-user] Running programs from terminal and by double clicking.

2012-01-05 Thread Benoît Minisini
Le 02/01/2012 22:20, Jussi Lahtinen a écrit : > Sorry, not Ubuntu! I'm using Xubuntu. > > Jussi > Hi, The bug should be fixed in revision #4392. Regards, -- Benoît Minisini -- Ridiculously easy VDI. With Citrix VDI-in

Re: [Gambas-user] Running programs from terminal and by double clicking.

2012-01-03 Thread Benoît Minisini
Le 03/01/2012 21:32, Jussi Lahtinen a écrit : > Experimenting more with this... and apparently I have not used "For Input" > in any other of my projects. > Since also this fails: > hProcess = Exec ["echo", "hello?"] For Input As "Process" > > So, child program does *not* have to be written with gam

Re: [Gambas-user] Running programs from terminal and by double clicking.

2012-01-03 Thread Jussi Lahtinen
Experimenting more with this... and apparently I have not used "For Input" in any other of my projects. Since also this fails: hProcess = Exec ["echo", "hello?"] For Input As "Process" So, child program does *not* have to be written with gambas. That was my hasty conclusion. Jussi On Mon, Ja

Re: [Gambas-user] Running programs from terminal and by double clicking.

2012-01-02 Thread Jussi Lahtinen
Sorry, not Ubuntu! I'm using Xubuntu. Jussi On Mon, Jan 2, 2012 at 20:24, Jussi Lahtinen wrote: > Hi! > Strange problem. For some reason I'm not able to start child processes if > the parent program is launched by double clicking. > This is very specific issue. Firstly child program must be ma

Re: [Gambas-user] Running programs from terminal and by double clicking.

2012-01-02 Thread Jussi Lahtinen
> Exec ["gbr3" ... ] will search for gbr3 in the PATH environment > variable. Maybe you don't have the same PATH when you run a command from > a terminal, and when you run it by "double-clicking" on an icon? Note > that if PATH is not defined, the program is searched in /usr and /usr/bin. > In my

Re: [Gambas-user] Running programs from terminal and by double clicking.

2012-01-02 Thread Benoît Minisini
Le 02/01/2012 19:24, Jussi Lahtinen a écrit : > Hi! > Strange problem. For some reason I'm not able to start child processes if > the parent program is launched by double clicking. > This is very specific issue. Firstly child program must be made with > gambas, and it must be evoked with certain co

[Gambas-user] Running programs from terminal and by double clicking.

2012-01-02 Thread Jussi Lahtinen
Hi! Strange problem. For some reason I'm not able to start child processes if the parent program is launched by double clicking. This is very specific issue. Firstly child program must be made with gambas, and it must be evoked with certain command. Here is code (also ready project is attached) to