SysTools
haxe.SysTools (Class)
Static Members
winMetaCharacters: haxe.ds.ReadOnlyArray<Int>
Character codes of the characters that will be escaped by quoteWinArg(_, true)
.
Returns a String that can be used as a single command line argument on Unix. The input will be quoted, or escaped if necessary.
Name | Type |
---|---|
argument |
String |
Returns |
---|
String |
Returns a String that can be used as a single command line argument on Windows. The input will be quoted, or escaped if necessary, such that the output will be parsed as a single argument using the rule specified in http://msdn.microsoft.com/en-us/library/ms880421
Examples:
quoteWinArg("abc") == "abc";
quoteWinArg("ab c") == '"ab c"';
Name | Type |
---|---|
argument |
String |
escapeMetaCharacters |
Bool |
Returns |
---|
String |