[comp.sys.amiga.tech] Manx exec bug with 1.3???

STETNERD@UREGINA1.BITNET ("Douglas G. Stetner") (11/17/88)

I have noticed that a simple program that calls Execute() will compile
fine but not work correctly under Kickstart/Workbench 1.3.  The offending
program follows: (compiled with 32bit library)

#include <stdio.h>
#include <libraries/dosextens.h>

main()
{
int success;

success = Execute("dir", 0L, 0L );
if( success == 0 )
     printf( "Error : %ld\n", IoErr() );
}

I have tried full path name in the Execute() and stuff like that.  The
error it returns is 205, I believe this is a "channel not available"
error, anyone know whats wrong?? (other than the libraries being broken?)
Please ignore any spelling errors etc.

Douglas Stetner
Systems Manager
Computer Science Department
University of Regina
Regina, Saskatchewan, Canada

(Standard Disclaimers Apply)