Terminal: Allow profiles to have arguments member that can be used that can be used as parameter to underlying text application

Created on 15 Aug 2019  路  4Comments  路  Source: microsoft/terminal

Sample profile for cmd.exe for example (Bold is the what I want)
{
"arguments" : "f:\GIT\Tools\Razzle.cmd x64fre",
"startingDirectory" : "f:\GIT",

_"name" : "Razzle",
"commandline" : "cmd.exe",_
"acrylicOpacity" : 0.75,
"closeOnExit" : true,
"colorScheme" : "Vintage",
"cursorColor" : "#FFFFFF",
"cursorShape" : "bar",
"fontFace" : "Consolas",
"fontSize" : 11,
"foreground" : "#00FF00",
"guid" : "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"historySize" : 9001,
"icon" : "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
"padding" : "0, 0, 0, 0",
"snapOnInput" : true,
"useAcrylic" : true
},

Issue-Question Needs-Tag-Fix Needs-Triage Resolution-Answered

Most helpful comment

If you're seeing settings not changing, you should 100% check to make sure you haven't duplicated your guid :wink:

All 4 comments

?

"commandline": "cmd /k f:\git\tools\razzle.cmd x64fre"

I have tried this and tried again, the arguments are completely ignored, also the startup directory doesn't change

If you're seeing settings not changing, you should 100% check to make sure you haven't duplicated your guid :wink:

An easy to way to reset the guid is to just delete it.

Was this page helpful?
0 / 5 - 0 ratings