You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
705 B

  1. /// <reference path="../node_modules/rxjs/Observable.d.ts" />
  2. declare module "spawn-rx" {
  3. import { Observable } from 'rxjs/Observable';
  4. namespace spawnrx {
  5. function findActualExecutable(exe: string, args: Array<string>): { cmd: string, args: Array<string> };
  6. function spawnDetached(exe: string, params: Array<string>, opts: Object): Observable<string>;
  7. function spawn(exe: string, params: Array<string>, opts: Object): Observable<string>;
  8. function spawnDetachedPromise(exe: string, params: Array<string>, opts: Object): Promise<string>;
  9. function spawnPromise(exe: string, params: Array<string>, opts: Object): Promise<string>;
  10. }
  11. export = spawnrx;
  12. }