Skip Menu |

This queue is for tickets about the Daemon-Generic CPAN distribution.

Report information
The Basics
Id: 83087
Status: resolved
Priority: 0/
Queue: Daemon-Generic

Owner: Nobody in particular
Requestors: clintonmead [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

From clintonmead [...] Fri Feb 1 03: 03:34 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.219 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary=e89a8fb2066ea8d55604d4a52d92
Message-ID: <CAFDVgwGdgU_-fXbWGsemAtR+G+3HEgQ5=HKvcOjtjhear_Tu0Q [...]>
X-Received: by with SMTP id o3mr8630180oeb.24.1359705807574; Fri, 01 Feb 2013 00:03:27 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at
X-Spam-Score: -6.219
Received: from localhost (localhost []) by (Postfix) with ESMTP id 82C12240559 for <cpan-bug+Daemon-Generic [...]>; Fri, 1 Feb 2013 03:03:34 -0500 (EST)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id otinevmvhI0M for <cpan-bug+Daemon-Generic [...]>; Fri, 1 Feb 2013 03:03:33 -0500 (EST)
Received: from ( []) by (Postfix) with SMTP id 6A654240566 for <bug-Daemon-Generic [...]>; Fri, 1 Feb 2013 03:03:33 -0500 (EST)
Received: (qmail 19348 invoked by uid 103); 1 Feb 2013 08:03:32 -0000
Received: from ( by with QMQP; 1 Feb 2013 08:03:32 -0000
Received: from (HELO ( by (qpsmtpd/0.84/v0.84-167-g4ed6cab) with ESMTP; Fri, 01 Feb 2013 00:03:30 -0800
Received: by with SMTP id dn14so3836160obc.18 for <bug-Daemon-Generic [...]>; Fri, 01 Feb 2013 00:03:27 -0800 (PST)
Received: by with HTTP; Fri, 1 Feb 2013 00:03:27 -0800 (PST)
Authentication-Results: (amavisd-new); dkim=pass header.i= [...]
Delivered-To: cpan-bug+Daemon-Generic [...]
Subject: Feature-Request: Add option to redirect stdout/stderr to same or separate files.
Return-Path: <clintonmead [...]>
X-RT-Mail-Extension: daemon-generic
X-Original-To: cpan-bug+Daemon-Generic [...]
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=U8X1YMxS4kdBXQStNBkgCm9Bk0GtvAfvXCFPVzcqf5I=; b=KObZKzuEFfgB3Lr+DBMaWh//eeVvVSlKohN/m6OY7apD+/J2iG9RL1d06cjTt6J8KE +bh6zCFKHKVPduLuqzqCqDEp8SKjdhYwJO7RoIKPmV1AZp83K3xzhd2NwD+XvUJGItHN BvBYJPXes/ZNTUFXMNR5VaZcsb2TYhshYCz1nOKKEAZ1gCv12stne49LUdhm02928x0l O5PXwGkCBNeZL7ZpSW0fx9rqn+xYeaFVuFUwMKwtmJf2Zfx5tFUuFbSZb/UyD7Rf0mPa yxpqW27xGwOOlRYhuLZDyMtQ1HQMMIs0+ghr0dGdJU9arPOXdhlRihpkTn3tmW8qtuDJ bjhQ==
Date: Fri, 1 Feb 2013 19:03:27 +1100
To: bug-Daemon-Generic [...]
From: Clinton Mead <clintonmead [...]>
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 345
Download (untitled) / with headers
text/plain 345b
Add option to redirect stdout/stderr to same or separate files. To a certain extent, the user can do this, but redirecting STDOUT/STDERR in their own code, but this still misses any output that may have been produced (perhaps due to an error) before 'gd_run' is called. Also this is a common task so it would be good to place it in the library.
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 353
MIME-Version: 1.0
In-Reply-To: <CAFDVgwGdgU_-fXbWGsemAtR+G+3HEgQ5=HKvcOjtjhear_Tu0Q [...]>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <CAFDVgwGdgU_-fXbWGsemAtR+G+3HEgQ5=HKvcOjtjhear_Tu0Q [...]>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-27077-1360716755-251.83087-0-0 [...]>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 171
Download (untitled) / with headers
text/plain 171b
I'm not going to add a feature for this but I did fix the code and the documentation. This behavior can be done by the user easily in the new method gd_reopen_output().

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to