Runtime.exec problem for different OS.
From: Priyanka AGARWAL (priya_smit_at_yahoo.com)
Date: 06/29/04
- Next message: Chris Smith: "Re: Threads question"
- Previous message: Jon Wayne: "Runtime.exec ()+ Broken pipe on large POST data"
- Next in thread: Dario (drinking coffee in the office…): "Re: Runtime.exec problem for different OS."
- Reply: Dario (drinking coffee in the office…): "Re: Runtime.exec problem for different OS."
- Reply: Roedy Green: "Re: Runtime.exec problem for different OS."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Jun 2004 05:45:10 -0700
I have a small problem.My program uses an external application which
has some environment settings.
Runtime.exec() works fine on windows when I give the env as null
I am using it as:
Runtime.getRuntime.exec(exeCmd , null , new File(workingDirecory));
But it doesnt work in unix. It doesnt take the default environment
settings in UNIX operating system.
Does anyone know the solution?
Thanks
Priyanka
- Next message: Chris Smith: "Re: Threads question"
- Previous message: Jon Wayne: "Runtime.exec ()+ Broken pipe on large POST data"
- Next in thread: Dario (drinking coffee in the office…): "Re: Runtime.exec problem for different OS."
- Reply: Dario (drinking coffee in the office…): "Re: Runtime.exec problem for different OS."
- Reply: Roedy Green: "Re: Runtime.exec problem for different OS."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|