Hi, Let me start by explaining what i am trying to do. I need to start a console application and get it's pid. If i don't use bypass_shell, i end up with the another pid (probably one for cmd.exe). If i use bypass_shell then the application starts in the background, no window is shown. This would be great, if this wouldn't prevent the application from generating soem logs. I have looked into the sources and found that my problem might be here:
newprocok = CreateProcess(NULL, command, &security, &security, TRUE, NORMAL_PRIORITY_CLASS|CREATE_NO_WINDOW, env.envp, cwd, &si, &pi); Why is the CREATE_NO_WINDOW necesarry? Might this be the problem? I am not a win expert, i lean mroe towards *nix. Is there any option to start direclty, but show the window, and let the application perform as usual? PS: hope it's the right list -- Alpar Torok