Tag Archives: Ruby

Escaping in ruby system calls

There are several ways to do a system call in ruby. The three most common are: Backticks `…` %x[ … ] system(cmd,[args,…]) You can assign the result of such a call to a variable, e.g. output = x%[pwd] If you … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment