Skip to content

Commit eca4600

Browse files
committed
Update generated type definition file
1 parent 1e21fb3 commit eca4600

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
*
1919
* @example
2020
* import { execvp } from '@alphahydrae/exec';
21-
* execvp('ls', ['ls', '-l', '.']);
21+
* execvp('ls', ['/bin/ls', '-l', '.']);
2222
*
2323
* @param {string} file The file to execute. If not a path, the PATH environment
2424
* variable is searched.
2525
* @param {string[]} args The arguments to pass to the new process. Note that
26-
* the first argument should be the name of the file
27-
* being executed.
26+
* the first argument, by convention, should point to
27+
* the filename associated with the file being executed.
2828
* @throws {Error} If the execvp system call fails.
2929
*/
3030
export declare function execvp(file: string, args: Array<string>): void

0 commit comments

Comments
 (0)