[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Runtime.exec()



hi,

    i am having problems with this method.... it wont let me change my
current working direc...

and IOException saying : cd: not found occurs, chdir also has the same
prob... but mv, rm, etc.. works fine.....

    anybody who has had the same prob b4 ??? any solutions ??

this is what i am trying to do

1. read a users login name as command line parameter
2. change into his home directory ( if permitted )
3. run a java class file ( whose suid bit has been set... )

i am doing step 2 because "java <class name>" works BUT "java <path for
class/class name>" does not work :-(


thank you
- chetu