On Fri, Jun 18, 2004 at 09:56:06AM -0500, [EMAIL PROTECTED] wrote:
> When I use the pass directive to start up my application, I can't use a
> pipe.  I can't even do 
> fprintf(stderr, "message") <- this should ALWAYS work.

No, the agent may very well have closed stdout as well as stderr ...

> When I run my app at the command line, it works fine.  The pipe works and
> the output file is created.  When I run it from the agent, the agent gets
> the correct output, but the pipe doesn't work, and the output file IS NOT
> created.

Where are you looking for the file? The agent will change directory to /
when it daemonizes.

/Niels

-- 
Niels Baggesen - @home - Århus - Denmark - [EMAIL PROTECTED]
The purpose of computing is insight, not numbers   ---   R W Hamming


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to