Click here to Skip to main content
15,914,016 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Execute unix application through VC++ Pin
Manasi D9-May-08 3:30
Manasi D9-May-08 3:30 
Thanks all for your quick reply.

We have a MKS emulator installed on our Windows XP systems.
We have to develop an application in VC++ that will execute those MKS based exes using shell.
We use sh- Lc command to run these exes manually in shell.
we are currently doing this using _spawnl() API as below:

Int lnSts =_spawnl(_P_NOWAIT,"SHELL.exe","SHELL.exe","-Lc Target.EXE",NULL);

target.exe is the unix based exe.
we want to know the status of target.exe (whether properly executed or not)

_spawnl() is giving return status of target when _P_WAIT mode is on.
In that case, we need to wait till the target exe is completely executed.
And dont want to wait for that in out application. We just want to boot the target and know if that application successfully booted or not.

Is there any API/ method for doing this?

Any help is appreciated.

Thanks again!
GeneralRe: Execute unix application through VC++ Pin
JudyL_MD9-May-08 3:40
JudyL_MD9-May-08 3:40 
GeneralRe: Execute unix application through VC++ Pin
Robert Surtees9-May-08 16:40
Robert Surtees9-May-08 16:40 
AnswerRe: Execute unix application through VC++ [modified] Pin
Rajesh R Subramanian9-May-08 3:11
professionalRajesh R Subramanian9-May-08 3:11 
GeneralRe: Execute unix application through VC++ Pin
toxcct9-May-08 3:47
toxcct9-May-08 3:47 
GeneralRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 3:51
professionalRajesh R Subramanian9-May-08 3:51 
GeneralRe: Execute unix application through VC++ Pin
CPallini9-May-08 4:17
mveCPallini9-May-08 4:17 
GeneralRe: Execute unix application through VC++ [modified] Pin
enhzflep9-May-08 4:14
enhzflep9-May-08 4:14 
QuestionRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 4:47
professionalRajesh R Subramanian9-May-08 4:47 
AnswerRe: Execute unix application through VC++ Pin
enhzflep9-May-08 5:16
enhzflep9-May-08 5:16 
GeneralRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 5:27
professionalRajesh R Subramanian9-May-08 5:27 
GeneralRe: Execute unix application through VC++ Pin
enhzflep9-May-08 5:36
enhzflep9-May-08 5:36 
AnswerRe: Execute unix application through VC++ Pin
toxcct9-May-08 3:11
toxcct9-May-08 3:11 
GeneralRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 3:13
professionalRajesh R Subramanian9-May-08 3:13 
RantRe: Execute unix application through VC++ Pin
Randor 9-May-08 5:09
professional Randor 9-May-08 5:09 
GeneralRe: Execute unix application through VC++ [modified] Pin
Rajesh R Subramanian9-May-08 5:22
professionalRajesh R Subramanian9-May-08 5:22 
GeneralRe: Execute unix application through VC++ Pin
Rajkumar R9-May-08 5:23
Rajkumar R9-May-08 5:23 
GeneralRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 5:31
professionalRajesh R Subramanian9-May-08 5:31 
GeneralRe: Execute unix application through VC++ Pin
Rajkumar R9-May-08 5:32
Rajkumar R9-May-08 5:32 
GeneralRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 5:38
professionalRajesh R Subramanian9-May-08 5:38 
GeneralRe: Execute unix application through VC++ Pin
Rajkumar R9-May-08 5:44
Rajkumar R9-May-08 5:44 
GeneralRe: Execute unix application through VC++ Pin
enhzflep9-May-08 5:41
enhzflep9-May-08 5:41 
GeneralRe: Execute unix application through VC++ Pin
Rajesh R Subramanian9-May-08 5:46
professionalRajesh R Subramanian9-May-08 5:46 
AnswerRe: Execute unix application through VC++ Pin
David Crow9-May-08 15:17
David Crow9-May-08 15:17 
Questiondestroy a dialog in a MFC application Pin
tom groezer9-May-08 2:53
tom groezer9-May-08 2:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.