in reply to Replacing backticks with system() and redirecting STDERR to file

ow! That's not maintainable, assuming it's even correct. Create a script (preferably in advance, but dynamically might work) and see if you could call it using system PROGRAM, LIST to avoid quoting problems. Avoid the headaches!
  • Comment on Re: Replacing backticks with system() and redirecting STDERR to file
  • Download Code