Quantcast
Channel: PTC Community: Message List - Is error checking from `` possible?
Browsing all 4 articles
Browse latest View live

Is error checking from `` possible?

When I run a command like: local $value = `fake_program_name` I get nothing back in $value,  $main::sh_status is set to 0.  $sh_status is empty.  $main::ERROR is empty.  Is there any way to actually...

View Article


Image may be NSFW.
Clik here to view.

Re: Is error checking from `` possible?

Hi Mike-- The problem with this is that the backtick syntax returns any text that goes to standard output in the OS, but in the case you describe (missing executable), the messages go to standard error...

View Article


Is error checking from `` possible?

When I run a command like: local $value = `fake_program_name` I get nothing back in $value, $main::sh_status is set to 0. $sh_status is empty. $main::ERROR is empty. Is there any way to actually check...

View Article

Image may be NSFW.
Clik here to view.

Re: Is error checking from `` possible?

Hi Mike-- The problem with this is that the backtick syntax returns any text that goes to standard output in the OS, but in the case you describe (missing executable), the messages go to standard error...

View Article
Browsing all 4 articles
Browse latest View live