<div dir="ltr">Hello,<div><br></div><div>I tried to launch some program with run-program for example</div><div>"notepad" "cmd" etc but that doesn't work.</div><div><br></div><div>For cmd, it seem returned without the cmd prompt</div>
<div>and notepad is blocked, without show the window.</div><div><br></div><div>linux-files.lisp contain a function create-windows-process.</div><div><br></div><div>But it seem the problem is with the fill of : STARTUPINFO structure</div>
<div><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms686331(v=vs.85).aspx">http://msdn.microsoft.com/en-us/library/windows/desktop/ms686331(v=vs.85).aspx</a><br></div><div><br></div><div>in the lisp code we have a member : (setf (pref si #>STARTUPINFO.wShowWindow) #$SW_HIDE)</div>
<div><br></div><div>I have changed this to #$SW_SHOWDEFAULT, and notepad window</div><div>appear.</div><div><br></div><div>I tried a c code of CreateProcessW without fill the STARTUPINFO struct, just declare it : "STARTUPINFOW si;" and pass the pointer</div>
<div>to the function, everything work fine.</div><div><br></div><div>I tried the same in lisp code, I have removed the code </div><div> (setf (pref si #>STARTUPINFO ....<br></div><div><br></div><div>and everything work fine too, I have a new cmd.exe launched in separate window, notepad work well too, and other command I have</div>
<div>launched.</div><div><br></div><div>But maybe depend on which version of Windows, to fill differently the</div><div>structure ?</div><div><br></div><div>Thank you</div><div><br></div><div>Loic</div></div>