PDA

View Full Version : Question about QProcess



lni
27th April 2007, 21:51
Hi,

Can anyone please tell me how to launch a new process in a different node/machine using QProcess?

Thanks

wysota
27th April 2007, 21:59
It's not possible using QProcess.

lni
27th April 2007, 22:02
It's not possible using QProcess.

Is there anyway at all using Qt?

Thanks.

wysota
27th April 2007, 22:33
No :) You need to have access to the other machine through some protocol, like rsh or ssh. Then you can use QProcess.

lni
27th April 2007, 22:38
No :) You need to have access to the other machine through some protocol, like rsh or ssh. Then you can use QProcess.

Thanks. I am using rsh right now.

If QProcess doesn't have its own similar protocol, the clas name should be changed to QLocalProcess :mad: :o

wysota
28th April 2007, 00:08
Why should it? There is nothing like "local process" or "remote process" and the term "process" is well defined in the world of operating systems. It's like you'd wanted to change QFtp class name to QOnlyFtpAndNotPlaceYourFavouriteProtocolNameHere because it handles ftp and not some other protocol. Did you have a look at QProcess docs? There is nothing there that suggests any "remoteness" of the class.