At the moment I am trying to open a log file with notepad.exe while the original process continues. As I am developing for Windows, fork() is not available for me. I googled alot and found a good reference to opening processes (http://www.yolinux.com/TUTORIALS/ForkExecProcesses.html), however they all put the original process into a hold. For example:
exec("notepad.exe", "logs/Log.log", 0);
All stop the original process. Does anyone know the way to fix my problem? I am developing on Windows XP and am using Code::Blocks as IDE.
Thanks in advance,