Dancer vs system()
Am I missing something obvious here? can't see anything in the list archives / google. my $res = system('/bin/true'); debug "$res / $?"; The above always logs -1 / -1 even though the command runs. I'm acutally using it to run a small external db-updater tool and couldn't figure out how I was getting a failure message from Dancer but the database was updating. Am I being dim here? -- Richard Huxton Archonet Ltd
On 11/18/2011 11:07 AM, Richard Huxton wrote:
Am I missing something obvious here? can't see anything in the list archives / google.
my $res = system('/bin/true'); debug "$res / $?";
The above always logs -1 / -1 even though the command runs. I'm acutally using it to run a small external db-updater tool and couldn't figure out how I was getting a failure message from Dancer but the database was updating.
Am I being dim here?
* Fix bug that made system() fail with -1 under Dancer (felixdo) This has been fixed in the devel branch. Regards Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team
On 18/11/11 10:16, Stefan Hornburg (Racke) wrote:
On 11/18/2011 11:07 AM, Richard Huxton wrote:
Am I being dim here?
* Fix bug that made system() fail with -1 under Dancer (felixdo)
This has been fixed in the devel branch.
Aha! thanks - didn't think to check the buglist. -- Richard Huxton Archonet Ltd
I see it in the CHANGES file, but I'm interested in this issue, does anyone have a link to the diff or something? Would be cool if the CHANGES file listed github pull requests or diffs or merges or something. On Fri, Nov 18, 2011 at 2:45 AM, Richard Huxton <dev@archonet.com> wrote:
On 18/11/11 10:16, Stefan Hornburg (Racke) wrote:
On 11/18/2011 11:07 AM, Richard Huxton wrote:
Am I being dim here?
* Fix bug that made system() fail with -1 under Dancer (felixdo)
This has been fixed in the devel branch.
Aha! thanks - didn't think to check the buglist.
-- Richard Huxton Archonet Ltd _______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
On 18-11-2011 at 18:03, Brian E. Lozier wrote:
I see it in the CHANGES file, but I'm interested in this issue, does anyone have a link to the diff or something? Would be cool if the CHANGES file listed github pull requests or diffs or merges or something.
https://github.com/sukria/Dancer/issues/499 Just do a search in issues and commits on GitHub. ;-) - Alessandro
participants (4)
-
Alessandro Ranellucci -
Brian E. Lozier -
Richard Huxton -
Stefan Hornburg (Racke)