From 807742c9e8176d77cc3fd6a7dbd3c415e91ea089 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sat, 26 Nov 2005 03:14:12 +0000 Subject: [PATCH] Update GetLibs.vbs to properly return output when running builds of the dependency libs. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@77 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- w32/vsnet/GetLibs.vbs | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/w32/vsnet/GetLibs.vbs b/w32/vsnet/GetLibs.vbs index 535a095f8d..3ea990472e 100644 --- a/w32/vsnet/GetLibs.vbs +++ b/w32/vsnet/GetLibs.vbs @@ -210,10 +210,16 @@ End Sub Sub BuildViaDevEnv(ProjectFile, BuildType) Wscript.echo "Building : " & ProjectFile & " Config type: " & BuildType - Set oExec = WshShell.Exec(Chr(34) & DevEnv & Chr(34) & " " & Chr(34) & ProjectFile & Chr(34) & " /Build " & BuildType) - Do While oExec.Status <> 1 - WScript.Sleep 100 - Loop + BuildCmd=Chr(34) & DevEnv & Chr(34) & " " & Chr(34) & ProjectFile & Chr(34) & " /Build " & BuildType + Set MyFile = fso.CreateTextFile(UtilsDir & "tmpBuild.Bat", True) + MyFile.WriteLine("@" & BuildCmd) + MyFile.Close + + Set oExec = WshShell.Exec(UtilsDir & "tmpBuild.Bat") + Do + strFromProc = OExec.StdOut.ReadLine() + WScript.Echo strFromProc + Loop While Not OExec.StdOut.atEndOfStream End Sub Sub GetDevEnv()