Mirror of
forum.nim-lang.org
index
1183 :: Async shell execution?
[2015-05-04T14:04:07+02:00]
View Orginal
Johz
(orginal)
[2015-05-04T14:04:07+02:00]
view original
The asyncdispatch module is fairly low-level, and there's no module that builds on this to implement asynchronous shell execution. Does anyone have any code samples suggesting how I might go about asynchronously running child shell processes?
dom96
(orginal)
[2015-05-04T19:49:45+02:00]
view original
I'm afraid this is quite complicated as it requires IOCP support for Processes (On Windows) and epoll/select on Linux and Unix.