in reply to Re^5: Embed perl problem
in thread Embed perl problem

no chance. seems problem comes from calling system("ls -a"); in my code. when i using ptrace in c together with system calls in my perl code program stop running with + Stopped message at the end of program.

Replies are listed 'Best First'.
Re^7: Embed perl problem
by Noves Castro (Novice) on Feb 07, 2019 at 12:43 UTC

    I think about an alternative way, if i could detect when i my program run like this , problem can be solved almost:

    parent program

    vs

    program

    how can i detect when my program run by parent in perl?

Re^7: Embed perl problem
by Noves Castro (Novice) on Feb 05, 2019 at 04:01 UTC

    Any idea?