Re: [exec] Getting Error opening terminal error while trying to execute command on linux

2010-09-14 Thread Mohammed Sanaulla
quot;,"NEW_VAL"); >exec.execute(new CommandLine(environmentSript), myEnvVars); >String environment = baos.toString().trim(); >assertTrue(environment.contains("NEW_VAR")); > } > > and it works > > Cheers, > > Siegfried Goeschl >

Re: [exec] Getting Error opening terminal error while trying to execute command on linux

2010-09-05 Thread Mohammed Sanaulla
","NEW_VAL"); Regards, Mohamed Sanaulla. > > On 9/5/10 10:09 PM, Mohammed Sanaulla wrote: > >> I was able to execute the command. I got the environment variable map from >> the EnvironmentUtils and then added a new entry for TERM and then passed >> this M

Re: [exec] Getting Error opening terminal error while trying to execute command on linux

2010-09-05 Thread Mohammed Sanaulla
I was able to execute the command. I got the environment variable map from the EnvironmentUtils and then added a new entry for TERM and then passed this Map along with execute() method of the DefaultExecutor. - Mohamed Sanaulla On 6 September 2010 00:43, Mohammed Sanaulla wrote: > Hi all,

[exec] Getting Error opening terminal error while trying to execute command on linux

2010-09-05 Thread Mohammed Sanaulla
Hi all, I have recently started to use Exec. I was trying to execute "proz" command (Command for Prozilla) on Linux using the CommandLine and DefaultExecutor as an asynchronous process. When ever I try to run the program I get the following error: Error opening terminal: unknown. And the code term