fixup! gluon-core: implement popen3() in gluon/util.lua
This commit is contained in:
		
							parent
							
								
									1acc783a09
								
							
						
					
					
						commit
						d513d001f4
					
				@ -208,6 +208,7 @@ M.subprocess.PIPE = 1
 | 
			
		||||
-- Execute a program found using command PATH search, like the shell.
 | 
			
		||||
-- Return the pid, as well as the I/O streams as pipes or nil on error.
 | 
			
		||||
function M.subprocess.popen(path, argt, options)
 | 
			
		||||
	argt = argt or {}
 | 
			
		||||
	local childfds = {}
 | 
			
		||||
	local parentfds = {}
 | 
			
		||||
	local stdiostreams = {stdin = 0, stdout = 1, stderr = 2}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user