how to realize this funciton?

Now I want to use system() exec() or other create process function to invoke
two executable files and each result should display in different
terminal,and cann’t use phAB in our project.

Recently I use system(“pterm”) to create a terminal,but when I run it the
program BLOCK at this place after created the new terminal…

Any body can give me some advices?! thanks in advance.


Hichun Chen

Hichun Chen <hcchen@mail.ipp.ac.cn> wrote:

Now I want to use system() exec() or other create process function to invoke
two executable files and each result should display in different
terminal,and cann’t use phAB in our project.

Recently I use system(“pterm”) to create a terminal,but when I run it the
program BLOCK at this place after created the new terminal…

Any body can give me some advices?! thanks in advance.


Hichun Chen

How about spawnvp using the P_NOWAIT flag?

Regards.