ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

spawnp() function

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • spawnp() function

    I normally use spawnp() function in ILE C to execure programs that reside in QSYS.LIB and have a link in a directory included in $PATH and it works fine;
    now I'm trying to execute, always using spawnp, a shell script (using qsh interpreter) but it not work and does not produce any results.
    Can someone give me a suggestion ?

    Thanks
    Marco

  • #2
    What problem are you experiencing? (All you've said it "it not work".)

    Comment


    • #3
      It work fine using symbolic link program;
      otherwise if I use a script the child process start but the script is not executed

      Comment


      • #4
        Its not possible to help you if you don't provide any details.

        Please provide complete details. Include everything we would need to produce the same error on our machines.

        Comment

        Working...
        X