aboutsummaryrefslogtreecommitdiffstats
path: root/lib/shell
diff options
context:
space:
mode:
Diffstat (limited to 'lib/shell')
-rw-r--r--lib/shell/command-processor.rb2
-rw-r--r--lib/shell/process-controller.rb6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/shell/command-processor.rb b/lib/shell/command-processor.rb
index 62fb0cafe6..f3f2bf05b6 100644
--- a/lib/shell/command-processor.rb
+++ b/lib/shell/command-processor.rb
@@ -35,7 +35,7 @@ class Shell
install_builtin_commands
- # define CommandProccessor#methods to Shell#methods and Filter#methods
+ # define CommandProcessor#methods to Shell#methods and Filter#methods
for m in CommandProcessor.instance_methods(false) - NoDelegateMethods
add_delegate_command_to_shell(m)
end
diff --git a/lib/shell/process-controller.rb b/lib/shell/process-controller.rb
index 829ff7900a..ac7697dd5d 100644
--- a/lib/shell/process-controller.rb
+++ b/lib/shell/process-controller.rb
@@ -191,7 +191,7 @@ class Shell
@active_jobs.delete command
ProcessController.inactivate(self)
if @active_jobs.empty?
- command.notify("start_jon in ierminate_jon(%id)", Shell::debug?)
+ command.notify("start_job in terminate_job(%id)", Shell::debug?)
start_job
end
end
@@ -281,13 +281,13 @@ class Shell
command.notify("job(%id) start to waiting finish.", @shell.debug?)
_pid = Process.waitpid(pid, nil)
rescue Errno::ECHILD
- command.notify "warn: job(%id) was done already waitipd."
+ command.notify "warn: job(%id) was done already waitpid."
_pid = true
# rescue
# STDERR.puts $!
ensure
command.notify("Job(%id): Wait to finish when Process finished.", @shell.debug?)
- # when the process ends, wait until the command termintes
+ # when the process ends, wait until the command terminates
if USING_AT_EXIT_WHEN_PROCESS_EXIT or _pid
else
command.notify("notice: Process finishing...",