diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-09-07 12:51:42 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-09-07 12:51:42 +0100 |
commit | c690679f5e55d908a0f91b0d9b3276ae3f748b2d (patch) | |
tree | cbe46b2e859aa6f59d39a110d997274091004a24 /lib/alaveteli_external_command.rb | |
parent | 67a3a43cc26f8ad7218f33a13af04c3c74347866 (diff) | |
parent | dd39dbc580b1447758a6d3b9231ce09c9b3dcdf3 (diff) |
Merge branch 'wdtk' of git.mysociety.org:/data/git/public/alaveteli into wdtk
Diffstat (limited to 'lib/alaveteli_external_command.rb')
-rw-r--r-- | lib/alaveteli_external_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/alaveteli_external_command.rb b/lib/alaveteli_external_command.rb index b1d4f17d1..7d32be904 100644 --- a/lib/alaveteli_external_command.rb +++ b/lib/alaveteli_external_command.rb @@ -30,7 +30,7 @@ module AlaveteliExternalCommand if opts.has_key? :append_to xc.out = opts[:append_to] end - xc.run(opts[:stdin_string], opts[:env] || {}) + xc.run(opts[:stdin_string] || "", opts[:env] || {}) if xc.status != 0 # Error $stderr.puts("Error from #{program_name} #{args.join(' ')}:") |