Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Clearly lost my mind

by jdporter (Canon)
on Jan 06, 2008 at 04:22 UTC ( #660624=note: print w/replies, xml ) Need Help??

in reply to Clearly lost my mind

One possibility: Backticks only captures stdout; if either of those spawned programs print anything to stderr, it's going to be captured by the web server as output from your program. You might try redirecting stderr of the two spawned programs. I notice you don't do anything with the stdout that you catch in both cases. Perhaps it would be better to redirect stdout/stderr to log files instead?

A word spoken in Mind will reach its own level, in the objective world, by its own weight

Replies are listed 'Best First'.
Re^2: Clearly lost my mind
by jerrygarciuh (Curate) on Jan 06, 2008 at 05:04 UTC
    Thx jdporter,

    I think I must be delirious. I added

    use CGI::Carp qw( fatalsToBrowser ); use Fatal qw( warn ); use strict; use warnings;
    and suddenly it works. Dunno. Must.sleep.

    Thx very much! jg

    > _____________________________________________________
    "Transport of the mails, transport of the human voice, transport of flickering pictures - in this century, as in others, our highest accomplishments still have the single aim of bringing people together."   Wind, Sand, and Stars
      Antoine-Marie-Roger de Saint-Exupery

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://660624]
[chacham]: right now im editing the versions in the applications gradle file to use a version it wants. sheesh.
[Corion]: Ow, "but you're not supposed to do that" ;)
[chacham]: with google, you kinda just gotta do what it recomends.

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2017-03-29 08:06 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (344 votes). Check out past polls.