GG Wrote: > Hi ! > someone could say me if it's possible to redirect stdout of a program running > in background to a file. > I use writeln() to debug, I would like to redirect results of writeln() into > file. I tried : > program >> /tmp/log 2>&1 > program >> /tmp/log > program &> /tmp/log > ...never success. > > so maybe it's not possible with writeln or I'm missing something. > > Thanks !
That should work I usually just use > but no reason append shouldn't work. In fact that method of redirection is purely on your shell to handle.
