stdout/stderr handling by cygrunsrv/bash/tcl
Patrick Samson
p_samson@yahoo.com
Tue Mar 2 16:36:00 GMT 2004
I run a service installed as:
cygrunsrv --install pgr-daemon
--path /usr/bin/bash.exe
--args "--login /opt/pgreplica/bin/pgrd host1 host2"
--user pgreplicator
--shutdown
Everything is fine with stdout.
Messages are in /var/log/pgr-daemon.log
But if my application, which is a TCL script,
writes something on stderr (as "puts stderr $msg"),
This message is written:
- at the beginning of the file, overwriting the
existing stdout text.
- only when the service is stopped.
Is it an as-is behaviour, a lack or a mistake in
the command syntaxes, or something wrong in
cygrunsrv or bash or tcl?
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what youÂre looking for faster
http://search.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 14505 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040302/6d7682a8/attachment.obj>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list