vintagecomp
stranger
Reged: Jul 01 2009
Posts: 2
|
|
Hi,
Yes, I know, it's unsupported and too old. But it's still useful for CP/M enthusiasts to have a working C compiler .... Hitech C 3.09 would be one of the best, but unfortunately my first try was failing...
... I would like to start a program from a self written program, but I wanted to come back to the self written program after the execution of the other one.
That wasn't difficult to discover the 'spawnl()' function, it was proper declared in sys.h , but the linker told me, an unresolved external is found: '_spawnl'
Obviously execl() is implemented, but spawnl() is not. Surprisingly spawnl() is in the manual described and existing. Is something missing or is it just unimplemented ? Thanks for any hint.
|
clyde
Microchip staff
   
Reged: Oct 16 2003
Posts: 696
|
|
CP/M doesn't, generally speaking, support running more than one program at a time, so spawnl is not implemented.
|
vintagecomp
stranger
Reged: Jul 01 2009
Posts: 2
|
|
Just for clarification. I do not want to start more than one program at a time. I just want to "hand out" the control to a launched program, but want to return after completition to the "father" of the forked process. It's just like execl(), but the program should stay in the background. It's not multitasking, it's not parallel processing, it's not multithreading.
|