baanbab
24th June 2002, 22:14
Can anyone help me on this!!
I am using the shell function in my program for e-mailing from Baan.
ret = shell(mail.msg, SHELL_BACKGROUND)
This function is executed in a loop in the sense that it picks up the e-mail id from a table and e-mails a file. If the table has 200 records then this function is will be executed 200 times.
Today I got a problem when I ran the session. The session created a small Baan Window with "message" title and it said...
"FATAL ERROR: PTY error: 'No more pty's available' (e=0) PRESS <RETURN>"
There were a number of Baan windows with this message and had to go to each window and press return to come out of it.
But this did not affect my session it did work fine. But I am not sure if the shell function worked. I guess the command which I gave in Shell function "sendmail" failed. None of the e-mails were sent.
Can anyone help me to know about this FATAL ERROR
Thanks,
Babu
I am using the shell function in my program for e-mailing from Baan.
ret = shell(mail.msg, SHELL_BACKGROUND)
This function is executed in a loop in the sense that it picks up the e-mail id from a table and e-mails a file. If the table has 200 records then this function is will be executed 200 times.
Today I got a problem when I ran the session. The session created a small Baan Window with "message" title and it said...
"FATAL ERROR: PTY error: 'No more pty's available' (e=0) PRESS <RETURN>"
There were a number of Baan windows with this message and had to go to each window and press return to come out of it.
But this did not affect my session it did work fine. But I am not sure if the shell function worked. I guess the command which I gave in Shell function "sendmail" failed. None of the e-mails were sent.
Can anyone help me to know about this FATAL ERROR
Thanks,
Babu