s-news
[Top] [All Lists]

S-Plus process does not terminate

To: <s-news@lists.biostat.wustl.edu>
Subject: S-Plus process does not terminate
From: "Patrick Agin" <agin.patrick@sympatico.ca>
Date: Thu, 15 Nov 2001 18:44:54 -0500
Hi,
 
I shell out from Access a S-Plus process and wait until it terminates before executing the next statement. I use for that purpose the code found in the Microsoft Knowledge Base Articles (Q129796); you can also find similar code at http://www.mvps.org/access/api/api0004.htm . I tested the code with an Excel process and it works well (my next statement in Access is executed only when I close Excel). When I try with S-Plus, it doesn't work: S-Plus opens, the Task Manager shows under the 'Applications' tab that the S-Plus application is running and Access application is not responding - waiting for S-Plus to terminate, now I close S-Plus, the Task Manager does not show anymore the S-Plus application but Access is still not responding, so it freezes at that point. The Task Manager shows under the 'Processes' tab a process called SPLUS.EXE that is still there. Why? Only when I end this process manually does Access respond and execute my next statement.
 
Anyone has an explanation?
 
Thank you very much,
Patrick
<Prev in Thread] Current Thread [Next in Thread>