lib/vnctools/recorder.rb in vnctools-0.0.2 vs lib/vnctools/recorder.rb in vnctools-0.0.3
- old
+ new
@@ -23,10 +23,10 @@
)
if $DEBUG
@process.io.inherit!
else
- @process.io.stdout = @process.io.stderr = "/dev/null"
+ @process.io.stdout = @process.io.stderr = File.open("/dev/null", "w")
end
@process.start
# TODO: this may be too quick to actually catch the failure