Hi everyone,
hit some error here, please help. I had tried to spawn the exe using
spawnl(_P_NOWAIT, "test folder\testing.exe", NULL), but it doesn''t work as I expected. I believe that it must have something to do with the current working directory stuff. Therefore I tried to use the code below. But somehow still cannot, any idea?

Code:
int value;
char *env_list[] = {"path=C:\\Testing\\Release\test folder",NULL};

value = _spawnle( _P_NOWAIT, "test folder\\testing.exe",env_list[0], NULL, env_list);