in reply to Handling long command lines (was: Input to external program)
You can call magic open
open THING, '|-', '/path/to/util.exe', @clargs; print THING for <DATA>; # or some such
Update: Reply, Have you tried an absolute path to util.exe, as indicated? Can't guarantee anything about w32, but the full path to the executable would help on 'nix. That construction leaves out the shell, which would prevents relative paths from being resolved without luck.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Win32: best way to Input to external program
by smackdab (Pilgrim) on May 11, 2002 at 01:52 UTC | |
by choocroot (Friar) on May 11, 2002 at 09:41 UTC | |
by smackdab (Pilgrim) on May 11, 2002 at 20:17 UTC |