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.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to