Article View: borland.public.jbuilder.java.language
Article #14571Re: executing C binaries with Java GUI
From: Ken Sprague
Date: Tue, 24 Aug 1999 00:00
Date: Tue, 24 Aug 1999 00:00
24 lines
1169 bytes
1169 bytes
Carlos,
Something like:
Process p = Runtime.getRuntime().exec("yourProgram.exe arg1 arg2
arg3");
should work.
Ken
Carlos <cmartine@cluster-research.com> wrote in message
news:37C2BFAD.B7E46EA6@cluster-research.com...
> Is there an exec function or system()
> command in java to execute a C program ?
>
> something like the C system call
> Im writing a GUI in JAVA to a backend C program systems program
> and I need to pass a few arguments to netstat and to ipcfg.exe
>
>
>
>
Technical Details
Message-ID:
<7pvgrt$k9r7@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37C2BFAD.B7E46EA6@cluster-research.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,4e917e11814f36dd X-Google-Attributes: gidf74b3,public From: "Ken Sprague" <ksprague@email.msn.com> Subject: Re: executing C binaries with Java GUI Date: 1999/08/24 Message-ID: <7pvgrt$k9r7@forums.borland.com> X-Deja-AN: 516821907 Content-Transfer-Encoding: 7bit References: <37C2BFAD.B7E46EA6@cluster-research.com> Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal X-Priority: 3 Content-Type: text/plain; charset="iso-8859-1" Mime-Version: 1.0 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Newsgroups: borland.public.jbuilder.java.language