[comp.sys.amiga.tech] ARP 1.3 - ASyncRun

pboudrea@topaz.rutgers.edu (Boudreau) (04/23/89)

I would like to report what I "think" is a bug in the current 1.3 ARP
library involving ASyncRun() and the MORE command found on the 1.3
Workbench. 

The following code fragment using the old ARP library worked as you would 
expect; more opened a window, and the file was displayed in that new window.

Code fragment:

	struct ProcessControlBlock PCB=
	{
	   4000,			/* Stacksize */
  	   0				/* Priority */
	};
	
	ASyncRun("more","test.c",&PCB);


Using the 1.3 release of the ARP library, something different occurs. MORE 
opens up its own window, which can be used to input the MORE controls.  The
output is redirected to the original CLI that ran this code.

I use the defaults values for the PCB structure.  The only thing I
imagine is that some defaults have changed with the new library and the 
STDIN and STDOUT of ASyncRun()'ed processes.

Can anyone point out any solutions?  How about just WHY its happening?


Afterthought:
	I tried the above fragment using the RD command, a MORE-type file
reader that comes with ACCESS!  It also opens its own window, and it works
fine.