question

Phil Woods avatar image
Phil Woods asked

Start command with comma characters

Hi,

When creating a new build in the Game Manager, command line arguments can be included with the start command, but we have discovered that the comma character gives an unhealthy build.

For example, when using an Unreal server, the following command line arguments work fine: ‘-trace=cpu -tracefile=C:\GameLogs\PlayFabServer.utrace’. If we try and use ‘-trace=cpu,frame -tracefile=C:\GameLogs\PlayFabServer.utrace’ then that will lead to an unhealthy build.

Is there any way to use comma characters, as part of the start command, or are we better to change our server code to use different characters for command line arguments?

Thanks,

Phil.

game manager
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

For clarification, we only support using the space character as the delimiter in the start command of the multiplayer server builds. It’s not allowed to use the comma character as the delimiter. If you want to use the comma character as a part of the argument, you can try to add the single quotes out the -trace=cpu,frame. The start command could be something like this.

"C:\Assets\Server.exe '-trace=cpu,frame' '-tracefile=C:\GameLogs\PlayFabServer.utrace'"
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Phil Woods avatar image Phil Woods commented ·

Thanks, that worked.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.