Skip to content

Commit 84317f6

Browse files
committed
Update comment on run_process
1 parent 9c57992 commit 84317f6

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/Util.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,11 @@ class TemporaryFile final {
371371
TemporaryFile &operator=(TemporaryFile &&) = delete;
372372
};
373373

374-
/** Run an executable with the given arguments, without going through the
375-
* shell. The first element of args should be the program name/path.
376-
* Returns the exit code of the process, or -1 if the process could
377-
* not be started. */
374+
/** Run an executable with the given arguments without going through
375+
* the shell. The first element of args should be the program name/path.
376+
* If a name without a path-separator is given, it will be searched for
377+
* in the PATH. Returns the exit code of the process, or -1 if the process
378+
* could not be started. */
378379
int run_process(std::vector<std::string> args);
379380

380381
/** Routines to test if math would overflow for signed integers with

0 commit comments

Comments
 (0)