SuSE Shell gives File not found error, any reason?

SuSE linux - when we execute Shell command in Lotus Script it gives ‘File Not Found’ exception. Does any one know the reason? I am trying to run like Shell(‘ksh /folder/file.sh’, 4)

Subject: SuSE Shell gives File not found error, any reason?

Shouldn’t you use doublequotes instead, like:x=Shell(“ksh /folder/file.sh”, 4)

Subject: RE: SuSE Shell gives File not found error, any reason?

Oops I am sorry, I am using it like

thecommand = “ksh path/file.sh”

varname = Shell ( thecommand , 4)

Subject: RE: SuSE Shell gives File not found error, any reason?

I need to know the answer desperately. Does anyone has any idea.

Subject: SuSE Shell gives File not found error, any reason?

We’ve seen this, too, executing a ftp command. The command does what it is supposed to, but it always returns an error.

Subject: RE: SuSE Shell gives File not found error, any reason?

So this will be a problem, since my application is a web application, it gives ‘Agent Done’ error when it encounter this statement.

Any other idea how to tackle this?

Subject: RE: SuSE Shell gives File not found error, any reason?

Any idea if this is a SuSE specific issue, or does it happen with RedHat too?