Menu

#154 first parameter of CreateProcessA should be NULL

open
None
5
2014-08-16
2010-06-07
Anonymous
No

first parameter of CreateProcessA should be NULL in tinytest.c . If set you cannot run regress.exe using the name regress but if set to NULL Windopws will add .exe automatically. Using the first parameter to NULL is the recommended way to call CreateProcess:
http://msdn.microsoft.com/en-us/library/ms682425%28VS.85%29.aspx

Discussion

  • Nick Mathewson

    Nick Mathewson - 2010-06-07

    But won't that just break it in any case where the path contains spaces?

    Perhaps we'd be better off just adding the ".exe" to the commandname if it isn't there...

     
  • Chris Davis

    Chris Davis - 2010-07-28
    • assigned_to: nobody --> chris-davis
     

Log in to post a comment.