<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br><br>I was curious about what Qt makes when calling a process, since we have used Qt in windows without problems when calling processes. Seems that they do exactly what my fix makes:</div><div><br></div><div><a href="https://github.com/Vitallium/qt5/blob/master/qtbase/src/corelib/io/qprocess_win.cpp">https://github.com/Vitallium/qt5/blob/master/qtbase/src/corelib/io/qprocess_win.cpp</a></div><div><br></div><div>I would assume that this change is safe and compatible since it has been in Qt for a while.</div><div><br></div><div>Leonardo</div><div><br>On 01 Sep 2015, at 15:20, Daniel Bünzli <<a href="mailto:daniel.buenzli@erratique.ch">daniel.buenzli@erratique.ch</a>> wrote:<br><br></div><blockquote type="cite"><div><span>Le mardi, 1 septembre 2015 à 14:01, Leonardo Laguna a écrit :</span><br><blockquote type="cite"><span>Has anyone had these kind of problems?</span><br></blockquote><span></span><br><span>Not yet. </span><br><span></span><br><blockquote type="cite"><span>Is is possible to get this change in the ocaml code?</span><br></blockquote><span>This surely qualifies as bug. No escaping should be needed on Unix.create_process and whathever you give as arguments should end up in the sub process' Sys.argv as given. A mantis <a href="http://caml.inria.fr/mantis/">http://caml.inria.fr/mantis/</a> issue and a patch (possibly on github) are likely most welcome. </span><br><span></span><br><span>FWIW I have this link about the problem [1] I intended to study at a certain point. It might be worth giving it a read. </span><br><span></span><br><span>Best,</span><br><span></span><br><span>Daniel</span><br><span></span><br><span>[1] <a href="http://blogs.msdn.com/b/twistylittlepassagesallalike/archive/2011/04/23/everyone-quotes-arguments-the-wrong-way.aspx">http://blogs.msdn.com/b/twistylittlepassagesallalike/archive/2011/04/23/everyone-quotes-arguments-the-wrong-way.aspx</a></span><br><span></span><br><span></span><br></div></blockquote></body></html>