http://www.perlmonks.org?node_id=137294


in reply to Capturing data with backticks and sockscap

Did you test that "socksification" (whatever that is) is what really is the cause? For example, by capturing output of a hello world script first unsocksified then socksified. Also maybe it is failing as a side-effect of trying to enable socksification (sorry, I like this word), not just the fact that it's socksed. For instance, you used a wrong flag or interpolated some variable on the shell command line. In particular, there is a `@' in your command-line that I have my eye on. Did you use the `-w' flag and `use strict'?
  • Comment on Re: Capturing data with backticks and sockscap

Replies are listed 'Best First'.
Re: Re: Capturing data with backticks and sockscap
by Anonymous Monk on Jan 12, 2002 at 00:55 UTC
    The script runs fine when not socksified, although it will not connect to the external servers (because it is not socksified...). It will connect to any servers internal to our firewall and I can capture the output from a backticked ssh call.

    When I call the socksified Perl script from the command line, another window pops open. The script does not execute within the window from which I called it.

    Any more ideas?