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 Spawn an executable using a symlink to it
Ref. No. QNX.000000533
Category(ies) Development
Issue In QNX4 using Watcom 10.6, can an executable that is referenced by a symlink be spawned from code using the symlink as the argument to spawn?




Solution Yes, you can use a symlink as the path or file argument to the spawn family of functions.

spawnl( mode, path, arg0, arg1, ... argn, NULL)
spawnvpe( mode, file, argv, envp )