But system() is blocking... It won't work that way. You have to call rsh from within QProcess and pass it arguments through the command line or its standard input stream.