Friday, January 23, 2009 CreateProcess

" CreateProcess:" is an all time exception what we get while running the windows process through java programme.

The reason behind this is that java creates the log file with the same name as the process.
To avoid this always remember few things: -
1. Always Give the extension of the executable file name like "java.exe"
2. Take care of the slashes ('\' - windows,'/' - unix)
3. In windows executing ".lnk" more often give issues so try something like this - "start myshortcut.lnk" or "cmd myshortcut.lnk"

No comments: