Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

[WINDOWS] Calling external programs: SysProcessCreate2 or _ ?

2020-02-26
2020-02-27
  • andre-teprom - 2020-02-26

    Hi there,

    I have seen both above functions being called to instantiate programs from Codesys, but I could not get what is the main advantages and drawbacks for each case. Do the SysProcessCreate2 instantiate a program which stay resident at the OS whereas the SysProcess ExecuteCommand2 just make a callback to the command at its argument?

    Once I'm out of office, for while I'm unable to taste the differences among both functions.

    Thanks in advance,
    Andre.

     
  • i-campbell

    i-campbell - 2020-02-27

    It is as you have said.

    And yes, it is a known bug with _ when used in the forum.

    As such the entire forum will be moved to a new platform, forge.codesys.com, should be this weekend. I have tested, and you can say _ on the newer platform. In fact, the new platform gives other improvements too.

     

Log in to post a comment.