Sorry. Example 2 is
puts IO.popen("mkdir test", err: [:child, :out]).readlines.join("") puts IO.popen("cd .; mkdir test2", err: [:child, :out]).readlines.join("")
Sorry. Example 2 is
puts IO.popen("mkdir test", err: [:child, :out]).readlines.join("") puts IO.popen("cd .; mkdir test2", err: [:child, :out]).readlines.join("")