diff --git a/process.c b/process.c
index 52b723735b..b4e2b7c94c 100644
--- a/process.c
+++ b/process.c
@@ -2167,15 +2167,15 @@ static int rb_exec_without_timer_thread(const struct rb_exec_arg *e, char *errms
* This behavior is modified by env and options.
* See spawn
for details.
*
+ * Raises SystemCallError if the command couldn't execute (typically
+ * Errno::ENOENT
when it was not found).
+ *
* This method modifies process attributes according to _options_
* (details described in spawn
)
* before exec(2)
system call.
* The modified attributes may be retained when exec(2)
system call fails.
* For example, hard resource limits is not restorable.
- * If it is not acceptable, consider methods which create a child process such as spawn
or system
.
- *
- * Raises SystemCallError if the command couldn't execute (typically
- * Errno::ENOENT
when it was not found).
+ * If it is not acceptable, consider to create a child process using spawn
or system
.
*
* exec "echo *" # echoes list of files in current directory
* # never get here