1 | // Type definitions for opener 1.4
|
2 | // Project: https://github.com/domenic/opener
|
3 | // Definitions by: Rahul Ravikumar <https://github.com/tikurahul>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | /// <reference types='node' />
|
7 |
|
8 | import { ChildProcess } from 'child_process';
|
9 |
|
10 | type Callback = (error: Error, stdout: string, stderr: string) => void;
|
11 | declare function opener(
|
12 | args: string | string[], options?: {}, callback?: Callback): ChildProcess;
|
13 |
|
14 | export = opener;
|