From 79509620fd85e21f91d703574ee02f3c2e3b2f32 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 27 Feb 2015 07:51:31 +0100 Subject: [PATCH] Added execSync to child_process --- node/node.d.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/node/node.d.ts b/node/node.d.ts index b1e849535..0fff702b3 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -650,6 +650,19 @@ declare module "child_process" { env?: any; encoding?: string; }): ChildProcess; + export function execSync(command: string, options?: { + cwd?: string; + input?: string|Buffer; + stdio?: any; + env?: any; + uid?:number; + gid?:number; + timeout?: number; + maxBuffer?: number; + killSignal?: string; + maxBuffer?:number; + encoding?: string; + }); } declare module "url" {