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
cygcheck.out
Description: cygcheck.out
-- 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/