// 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*));
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;
/// @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.
///