lib/rbbt/util/cmd.rb in rbbt-util-5.29.4 vs lib/rbbt/util/cmd.rb in rbbt-util-5.30.0
- old
+ new
@@ -215,11 +215,11 @@
out
end
end
- def self.cmd_log(*args)
+ def self.cmd_pid(*args)
all_args = *args
all_args << {} unless Hash === all_args.last
level = all_args.last[:log] || 0
@@ -243,9 +243,14 @@
end
end
end
io.join
+ nil
+ end
+
+ def self.cmd_log(*args)
+ cmd_pid(*args)
nil
end
end