Date: Fri, 12 Dec 1997 18:34:00 +0100 From: teima@kk.etx.ericsson.se (Valter Mazzaro) To: freebsd-questions@FreeBSD.ORG Subject: java should execute scripts Message-ID: <199712121734.SAA06798@kk660.kk.etx.ericsson.se>
next in thread | raw e-mail | index | archive | help
Hi, I'm quite new in using java! I wonder how it's possible to run unix scripts from java. I know that I can run an executable file by running rt.exec command, for example rt.exec("dhcpconf le0 release"), but if I create a script, let's say stopDHCP that contains just the line:dhcpconf le0 release the command rt.exec("stopDHCP") doesn't work. Any hint? Thanks Valter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712121734.SAA06798>