Here is a problem a friend of mine is having. I can vaguely imagine Hell
breaking loose when somebody asks ND-CP to do exec(..), which involves
creating a new process.
Is the answer IMPOSSIBLE or can somebody think of some way to cajole ND ?
Even JNI would be helpless since the C program is calling a Shell script.
Any way out, O Unix experts? Have the ND Page write something to a port
which will be listened to by a daemon? (I am blabbering)
Thanks,
Aby
> -----Original Message-----
> From: Suket N Gandhi [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, April 23, 1999 12:31 PM
> To: Aby Mathew (E-mail)
> Subject: Hi
>
> I have a small problem in ND. It would be nice if you could throw some
> light on the solution.
> �
> Problem : I want to execute a shell script on the click of an ND
> Button.Any idea how this can be done?
> �
> What we tried here was :
> Wrote a program in 'C' to execute and shell script and call the 'C'
> program in Java using system.execute() method.
> This works fine as long as we run the java file seperately.
> However when we place the same piece of code in the onclick event of a
> button, we are getting all types of execptions.
> Any idea why it works thru Java (standalone application) and not thru ND
> ?
> �
> Is there any other way in which we can solve this problem.
> �
> Eagerly awaiting UR reply.
> �
> Thanks
> �
> Suket
> �
>
>
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]