Skip to content

Commit

Permalink
force binary mode when deserializing the program
Browse files Browse the repository at this point in the history
  • Loading branch information
damphyr committed Mar 13, 2015
1 parent 35340f1 commit 6b9e9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/systemu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def child_program config
PIPE = STDOUT.dup
begin
config = Marshal.load(IO.read('#{ config }'))
config = Marshal.load(IO.read('#{ config }',:mode=>"rb"))
argv = config['argv']
env = config['env']
Expand Down

0 comments on commit 6b9e9ed

Please sign in to comment.