I'm trying to pass a command-line argument < (single angle bracket, without quotes) to a C++ program during a debugging session in Visual Studio. As described in Project settings for a C++ debug configuration, < has special meaning as a redirection operator, but it does not specify how to escape it. I've tried using "<" and ^<, but none of them do what I want. Invoking the command from command line with the "<" argument works as expected.
So it looks like debugging command arguments are preprocessed first. Is there any way to escape a character from this preprocessing?
<works because it's not an argument, it's a redirect operator. It won't actually pass an argument to your executable. As I stated in the question, I want to pass a single argument - the<string.