We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e21fb3 commit eca4600Copy full SHA for eca4600
index.d.ts
@@ -18,13 +18,13 @@
18
*
19
* @example
20
* import { execvp } from '@alphahydrae/exec';
21
- * execvp('ls', ['ls', '-l', '.']);
+ * execvp('ls', ['/bin/ls', '-l', '.']);
22
23
* @param {string} file The file to execute. If not a path, the PATH environment
24
* variable is searched.
25
* @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.
+ * the first argument, by convention, should point to
+ * the filename associated with the file being executed.
28
* @throws {Error} If the execvp system call fails.
29
*/
30
export declare function execvp(file: string, args: Array<string>): void
0 commit comments