How would i make a rails web form execute a system call

If you want to run a command and gather it's output from stdout, enclosing the command in backticks will do it, i.e. `ls`. If you want to run a command, but you don't care about any output on stdout, instead you just want to know if the command was found and ran successfully, system is what you want, i.e. system("ls") . System returns true if the command is found and ran successfully, false otherwise.

Brent Brent wrote: