Current section
Files
Jump to
Current section
Files
lib/run_script.ex
defmodule RunScript do
def run(:python, script) do
System.cmd("python", [script])
end
# TODO
def run(:bash, script) do
System.cmd("./", [script])
end
def run(:ruby, script) do
System.cmd("ruby", [script])
end
end