Commit bd985988 authored by Francis Dupont's avatar Francis Dupont

[master] spelling

parent 50e788cc
......@@ -135,7 +135,7 @@ ProcessSpawnImpl::ProcessSpawnImpl(const std::string& executable,
// is received.
signals_->setOnReceiptHandler(boost::bind(&ProcessSpawnImpl::waitForProcess,
this, _1));
// Convertion of the arguments to the C-style array we start by setting
// Conversion of the arguments to the C-style array we start by setting
// all pointers within an array to NULL to indicate that they haven't
// been allocated yet.
memset(args_, 0, (args.size() + 2) * sizeof(char*));
......@@ -246,7 +246,7 @@ ProcessSpawnImpl::waitForProcess(int signum) {
int status = 0;
pid_t pid = waitpid(-1, &status, 0);
if (pid > 0) {
/// @todo Check that the terminatin process was started
/// @todo Check that the terminating process was started
/// by our instance of ProcessSpawn and only handle it
/// if it was.
process_status_[pid] = status;
......
......@@ -74,11 +74,11 @@ public:
/// @brief Spawn the new process.
///
/// This method forks the current process and execues the specified
/// This method forks the current process and executes the specified
/// binary with arguments within the child process.
///
/// The child process will return EXIT_FAILURE if the method was unable
/// to start the exuctable, e.g. as a result of insufficient permissions
/// to start the executable, e.g. as a result of insufficient permissions
/// or when the executable does not exist. If the process ends successfully
/// the EXIT_SUCCESS is returned.
///
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment