[asterisk-commits] mnicholson: testsuite/asterisk/trunk r404 - /asterisk/trunk/asttest/lib/lua/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 18 07:59:17 CDT 2010


Author: mnicholson
Date: Fri Jun 18 07:59:14 2010
New Revision: 404

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=404
Log:
Use proc.exec_io() instead of proc.exec() in an attempt to avoid broken pipe errors when running asterisk.

Modified:
    asterisk/trunk/asttest/lib/lua/astlib.lua

Modified: asterisk/trunk/asttest/lib/lua/astlib.lua
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/asttest/lib/lua/astlib.lua?view=diff&rev=404&r1=403&r2=404
==============================================================================
--- asterisk/trunk/asttest/lib/lua/astlib.lua (original)
+++ asterisk/trunk/asttest/lib/lua/astlib.lua Fri Jun 18 07:59:14 2010
@@ -90,7 +90,7 @@
 end
 
 function asterisk:_spawn()
-	local p = proc.exec(self.asterisk_binary,
+	local p = proc.exec_io(self.asterisk_binary,
 		"-f", "-g", "-q", "-m",
 		"-C", self.asterisk_conf
 	)




More information about the asterisk-commits mailing list