[3492] in java-interest

home help back first fref pref prev next nref lref last post

exec/Process question

daemon@ATHENA.MIT.EDU (dave@ipac.caltech.edu)
Tue Nov 14 17:03:21 1995

From: dave@ipac.caltech.edu
To: java-interest@java.sun.com
Date: Tue, 14 Nov 1995 10:18:23 -0800 (PST)

Greetings.  I want to use Java to provide an interface to an existing
application.  My thoughts so far are as follows:  use System.exec to start
the application, which should hand me a Process object implementing an input
and output stream for the application's stdin and stdout.  I am running
Solaris 3.4.

The trouble is I haven't gotten this to work.  No matter what application I
try to start, even standard system ones, I get a segv and core dump from the
application (the Java task continues merrily on).

This must be a fairly standard thing to do, does anyone have some code
examples or kind words of advice they could send my way?

Cheers,
		Dave Van Buren (dave@ipac.caltech.edu)
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post