
25 May
2009
25 May
'09
10:57 a.m.
Hello all, is there a function that can safely split a command line into a FilePath to the executable and its parameters? I couldn't manage to find one. If not, what are the pitfalls in creating a cross-platform solution to this problem? Can I assume that the first space not within double quotes and not preceded by an unescaped backslash marks the end of the executable path, or is that too naive (or completely wrong)? Gergely -- http://www.fastmail.fm - A fast, anti-spam email service.