How to specify resources in command line correctly?

the command I use is
ray start --resources=’{“CustomResource3”: 1, “CustomResource2”: 2}’


but it told me “Error: Got unexpected extra arguments (1, CustomResource2: 2}’)”

What about if you do opposite?

"{'CustomResource3': 1, 'CustomResource2': 2}"

Does that work?

Not so familiar with the Windows, but here’s also the parsing logic that could be helpful.

    try:
        resources = json.loads(resources)

(so the format should be json serialized string in your OS)

Thanks, after reading the source code I found the problem lied in escape character and single quotation.
The correct format should be
ray start --head --resources={\“CustomResource3\”:1,\“CustomResource\”:2}