[PD] Redirection of output from command-line to file (with PD)
Jorge Cardoso
jccardoso at porto.ucp.pt
Tue Dec 2 11:57:03 CET 2003
> -----Original Message-----
> From: pd-list-admin at iem.at [mailto:pd-list-admin at iem.at] On
> Behalf Of Thomas Grill
> Sent: terça-feira, 2 de Dezembro de 2003 9:18
> To: Andrea Valente
> Cc: pd-list at 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/prodtechnol/winxppro/proddocs/redirection.asp
Hope it helps,
jc
Jorge C.S. Cardoso <-> jorgecardoso at 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
More information about the Pd-list
mailing list