Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Running programs from a Photon application
Ref. No. QNX.000000579
Category(ies) Development
Issue I would like to run an existing Photon executable from inside my Photon application.


Solution Although it is possible to use other C-type spawn functions such as spawnv(), the best method of spawning other programs is to use the PtSpawn() function, which provides you with a callback when the spawned program terminates.