[PD] Redirection of output from command-line to file (with PD)

Thomas Grill t.grill at gmx.net
Tue Dec 2 10:18:00 CET 2003

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.

Just in case you want to do a bit of programming:
For this and other applications i introduced a print hook functionality 
to the PD cvs version devel_0_37 (functions sys_addprinthook and 
sys_rmprinthook) which can be used from PD externals to catch the 
console output.

best greetings,

Am 02.12.2003 um 09:56 schrieb Andrea Valente:

> Hi,
>    I'm working with Windows and I have a problem with PD.
> I'd like to call
>    pd   |  anotherProgram
> to read from the standard output stream into the input stream of 
> another
> program (in Java
> in my case), but it doesn't work...
> Also this example:
>    pd > fileName
> is not working from the dos console, and I don't understand why...
> Can you please tell me if there are any command-line parameters for PD 
> to do
> that, or
> some other trick... :)
> Thanks a lot,
>    Andrea
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list

More information about the Pd-list mailing list