Posts by Noodle • 26 points
1 post
-
1
votes2
answers270
viewsA: Run multiple processes on Linux with Python
You’d have to do something like this: async def command(*args): process = await asyncio.create_subprocess_exec(*args, stdout=asyncio.subprocess.PIPE) cria_arquivo_com_pid(process.pid) stdout, stderr…