-----Original Message----- From: pd-list-admin@iem.at [mailto:pd-list-admin@iem.at] On Behalf Of Thomas Grill Sent: terça-feira, 2 de Dezembro de 2003 9:18 To: Andrea Valente Cc: pd-list@iem.at Subject: Re: [PD] Redirection of output from command-line to file (with PD)
Hi Andrea, the problem is that PD prints to stderr (the standard error output) rather than to stdout, which would be needed for redirection. I'm not sure if there is a way to redirect stderr in Windows.
Hi,
You can redirect the stderr to the stdout on Windows (at least on WinXP, haven't tried it on other versions):
C:\Program Files\Pure Data\bin>pd>output.txt 2>&1
This will write the output of pd (both stdout and stderr) to the file 'output.txt'.
For more info on command redirection check: http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechn...
Hope it helps, jc
Jorge C.S. Cardoso <-> jorgecardoso@ieee.org
Centro de Investigação em Ciência e Tecnologia das Artes (CITAR) Univ. Católica - CRP -> Escola das Artes -> Dept. Som e Imagem Rua Diogo Botelho 1327 4169 - 005 Porto Portugal
On Tue, Dec 02, 2003 at 10:57:03AM +0000, Jorge Cardoso wrote:
For more info on command redirection check: http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechn...
I guess the stdin/stdout mechanism first came to Windows then to Unix;
they don't bother to mention: Unix is so obsolete...
--
Marc