Conversation
Notices
-
Anybody knows a sure way to wait for a process to complete in #POSIX?
-
@flameeyes isn't there a pwait syscall? or what exactly is your context?
-
@flameeyes sorry, waitpid()
-
@hurikhan77 there's waitpid but that only works for children processes
-
@flameeyes ah you mean watching /any/ process...
-
@hurikhan77 yeah … need that for my init script for qemu/kvm
-
@flameeyes how does strace connect to a pid and traps signals etc? maybe that will work?
-
@hurikhan77 ptrace-based interface… might work
-