[Tickets #10638] Re: email from cron /usr/bin/horde-alarms
bugs at horde.org
bugs at horde.org
Wed Oct 12 16:46:43 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10638
------------------------------------------------------------------------------
Ticket | 10638
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | email from cron /usr/bin/horde-alarms
Queue | Gollem
Version | 2.0-RC1
Type | Bug
State | Feedback
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2011-10-12 10:46) wrote:
> The Smb backend works by calling exec() on
> $backends['smb']['smbclient']. This should catch all output.
I'm almost positive exec() doesn't capture stderr by default.
IIRC, using exec() you need to either pipe stderr into /dev/null (or
equivalent) or, for a more cross-platform solution, use proc_open()
instead.
More information about the bugs
mailing list