1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/shell/*: bug fix for Shell#system(command_line_string).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
keiju 2004-03-21 12:21:11 +00:00
parent b9c8bcafdc
commit 06d1cbb926
4 changed files with 20 additions and 9 deletions

View file

@ -16,7 +16,7 @@ class Shell
class SystemCommand < Filter
def initialize(sh, command, *opts)
if t = opts.find{|opt| !opt.kind_of?(String) && opt.class}
Shell.Fail TypeError, t.class, "String"
Shell.Fail Error::TypeError, t.class, "String"
end
super(sh)
@command = command