Hi All,
I have been struggling for a week trying to run a unix command from my java program.
the unix command is = ssh dmdev3@tsapid01-zt3d01 ':> /t3/envs/dmdev3/test/file_list.txt'
when i try to run this command directly on my unix console, it works perfectly.
but when i try it form my JAVA program, i get the below mentioned error
ksh: :> /t3/envs/dmdev3/test/file_list.txt: not found
below is my java code snippet that i use,
procTemp=runEnv.exec(strShellCmd);
where strShellCmd contains the entire unix command as a single string
requiring your help at the earliest cause i'm in such a desperate situation.
Thanks in advance,
Madhu.