C wrapper for Java program?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jim Langston

    #16
    Re: C wrapper for Java program?

    "Knute Johnson" <nospam@rabbitb rush.frazmtn.co mwrote in message
    news:_XtWi.155$ M56.95@newsfe16 .lga...
    Kai-Uwe Bux wrote:
    >As far as I know, standard C++ has only one method to start another
    >program,
    >and that is system(). That allows you to run a command, but it does not
    >even allow you to capture the output in a string or something like that.
    >
    I don't need the output, I just want to start the other program. So could
    the system() method be used to start my java interpreter?
    >
    Could you point me to a copy of the C++ standard or maybe post a snippet
    of the docs for system()?
    system("myprogr am.exe -flags");


    Comment

    • Knute Johnson

      #17
      Re: C wrapper for Java program?

      Jim Langston wrote:
      "Knute Johnson" <nospam@rabbitb rush.frazmtn.co mwrote in message
      news:_XtWi.155$ M56.95@newsfe16 .lga...
      >Kai-Uwe Bux wrote:
      >>As far as I know, standard C++ has only one method to start another
      >>program,
      >>and that is system(). That allows you to run a command, but it does not
      >>even allow you to capture the output in a string or something like that.
      >I don't need the output, I just want to start the other program. So could
      >the system() method be used to start my java interpreter?
      >>
      >Could you point me to a copy of the C++ standard or maybe post a snippet
      >of the docs for system()?
      >
      system("myprogr am.exe -flags");
      >
      >
      That works great. Thanks very much.

      --

      Knute Johnson
      email s/nospam/knute/

      Comment

      Working...