Thursday 15 April 2010

java - Running cshell command from Eclipse -



java - Running cshell command from Eclipse -

i create java class in eclipse. in class, want phone call cshell command , console output check result.

to run command, have source lic.cshrc file define immediate environment (will removed when command complete)

content of lic.cshrc

setenv csd_home /soft/soft/i-2013.12-sp2-2 set path = ( $csd_home/bin $path ) if ( $?lm_license_file ) setenv lm_license_file /soft/licenses/clientlic/lic:27000:$lm_license_file else setenv lm_license_file /soft/licenses/clientlic/lic:27000 endif

command run

source lic.cshrc importdata ......

how can implement it?

java eclipse eclipse-plugin csh

No comments:

Post a Comment