Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-event-test
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stas Korobeynikov
wx-event-test
Commits
609a279e
Commit
609a279e
authored
Nov 18, 2016
by
Stas Korobeynikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
started process
parent
fdd69307
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
asyncprocess.cpp
asyncprocess.cpp
+2
-0
asyncprocess.h
asyncprocess.h
+1
-1
No files found.
asyncprocess.cpp
View file @
609a279e
...
...
@@ -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
()
{
...
...
asyncprocess.h
View file @
609a279e
...
...
@@ -10,7 +10,7 @@
#endif
class
AsyncProcess
:
public
wxProcess
,
public
wxThreadHelper
{
class
AsyncProcess
:
public
wxProcess
,
public
wxThreadHelper
{
DECLARE_DYNAMIC_CLASS
(
AsyncProcess
)
public
:
AsyncProcess
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment