[Gambas-user] Can Gambas run itself? Fixed! NOT!
Kchula-Rrit
kchularrit at ...734...
Sat Dec 24 00:43:47 CET 2005
On Friday December 23 2005 04:21 am, Benoit Minisini wrote:
> On Friday 23 December 2005 09:00, Kchula-Rrit wrote:
> > On Thursday December 22 2005 04:13 pm, Benoit Minisini wrote:
> > > On Thursday 22 December 2005 08:55, Kchula-Rrit wrote:
> > > > I'm trying to get a Gambas2 program to run another copy of itself
> > > > but am having problems. I'm trying to have the main program send
> > > > commands into a file, which the second program reads with a "tail -f"
> > > > command. The main program receives command-responses with its own
> > > > "tail -f" command.
> > > ...
> > > When you open a file, by default input/output are buffered.
> > >
> > > Try to use the FLUSH instruction after PRINT, or adds the WRITE keyword
> > > before CREATE to your OPEN statements.
> >
> > Thanks for the ideas.
> >
> > K-R.
>
> Instead of redirecting to "/dev/null", can you try the two following things
> too?
>
> * Replace SHELL by EXEC.
> * Use SHELL, but without the WRITE keyword.
>
> Thanks in advance.
>
> Regards,
I guess I was premature, or it was late at night, but the
redirecting /dev/null did not work after all. I tried EXEC but it just
started a runaway process or something and I had to log-out to get it to
quit. I'll try it again and write down my results this time. If it helps,
I'm using gambas-1.9.20-4 for gambas itself, 1.9.19 for all the other parts
from linex.org with Debian Sarge.
Or, is just not possible to run two gambas2 processes?
I really do appreciate your help.
K-R.
More information about the User
mailing list