Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: capture STDOUT when some jerk opened STDOUT to /dev/tty

by BrowserUk (Pope)
on Jan 07, 2013 at 18:13 UTC ( #1012079=note: print w/ replies, xml ) Need Help??


in reply to capture STDOUT when some jerk opened STDOUT to /dev/tty

I'm not allowed to touch the script. That's completely forbidden.

Make your own local copy of the script, tweak and run that. The original is untouched.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re: capture STDOUT when some jerk opened STDOUT to /dev/tty
Re^2: capture STDOUT when some jerk opened STDOUT to /dev/tty
by Tommy (Chaplain) on Jan 07, 2013 at 21:41 UTC

    It communicates with a remote server to get the data it must process, and the remote server won't communicate with the script unless it has the right crypto hash...

    I decided the rabbit hole was getting too deep, and I wrote my own version in 1 line of shell code (a very long line with lots of pipes and regexen). *sigh*... Sometimes to win, you just have to know when you're beaten.

    Tommy
    "Perl follows the principle of least astonishment"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012079]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2014-09-30 12:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (366 votes), past polls