system() will block runcmd