Commit 609a279e authored by Stas Korobeynikov's avatar Stas Korobeynikov

started process

parent fdd69307
......@@ -24,6 +24,8 @@ void AsyncProcess::start() {
const char* cmd = "nxssh -nx -x -2 -p 2222 -o 'RhostsAuthentication no' -o 'PasswordAuthentication no' -o 'RSAAuthentication no' -o 'RhostsRSAAuthentication no' -o 'PubkeyAuthentication yes' -i /usr/lib64/opennx/share/keys/server.id_dsa.key -B -E nx@192.168.4.58";
pid = wxExecute(cmd, wxEXEC_ASYNC, this);
printf("pid: %d\n",pid);
Create();
m_thread->Run();
}
wxThread::ExitCode AsyncProcess::Entry() {
......
......@@ -10,7 +10,7 @@
#endif
class AsyncProcess : public wxProcess, public wxThreadHelper {
class AsyncProcess : public wxProcess , public wxThreadHelper {
DECLARE_DYNAMIC_CLASS(AsyncProcess)
public:
AsyncProcess();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment