[PD] writing to log files

cdr ix at replic.net
Mon Jan 30 19:12:16 CET 2006


On Mon Jan 30, 2006 at 12:04:07PM -0600, chris clepper wrote:
> On 1/30/06, CK <chris at lo-res.org> wrote:
> > I read:
> > > I would like to write various output to a log file in the same manner
> > > as the print object.  Does such an object exist?
> >
> > [/tmp/log log this stuff (
> >  |
> > [shell]
> >
> >
> > cat /tmp/log
> >
> > #!/bin/bash
> > echo $@ >> /tmp/log.txt
> 
> Yeah, I already thought about that, but this will have to work under
> Windows as well.  I don't have a working [shell] for Windows at the
> moment...

i must have deleted the beginning of this thread without reading it, but what about
[msgfile] and [textfile] ?

on windows if you have mingw installed you can 

[echo $1 >> c:/var/log.txt(
|
[popen]

or something...


> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list