Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Providing more than one argument for custom integrated terminal profile fails on osx #243549

Open
alexg9010 opened this issue Mar 14, 2025 · 0 comments
Assignees
Labels
confirmation-pending new release Issues found in a recent release of VS Code terminal-profiles

Comments

@alexg9010
Copy link

alexg9010 commented Mar 14, 2025

Type: Bug

I have a custom terminal created for running tmux defined in my user settings:

{
  "terminal.integrated.profiles.osx": {
        "tmux": {
            "path": "bash",
            "args": [
                "-c", 
                "tmux new -ADs vscode-${PWD##*/}"
        ],
            "icon": "terminal-tmux",
        },
    },  
    "terminal.integrated.profiles.linux": {
        "tmux": {
            "path": "bash",
            "args": [
                "-c",
                "tmux new -ADs vscode-${PWD##*/}"
            ],
            "icon": "terminal-tmux",
        },
    },
    "terminal.integrated.defaultProfile.osx": "tmux",
    "terminal.integrated.defaultProfile.linux": "tmux"
}

This works on a remote machine with Linux and used to work on macOS.

The process fails with error code 127, but when expecting the generated command I noticed that there is an additional , between the arguments passed to bash, which is not occurring on the remote machine.

error message on local macOS:
Image

custom terminal on remote linux:
Image

VS Code version: Code 1.98.2 (Universal) (ddc367e, 2025-03-12T13:32:45.399Z)
OS version: Darwin arm64 23.6.0
Modes:
Remote OS version: Linux x64 6.2.0-39-generic

System Info
Item Value
CPUs Apple M2 Pro (12 x 2400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 4, 4, 5
Memory (System) 16.00GB (0.07GB free)
Process Argv --crash-reporter-id 1ef07e49-4c1c-4c4b-81e2-969fc639b678
Screen Reader no
VM 0%
Item Value
Remote SSH: hulk
OS Linux x64 6.2.0-39-generic
CPUs Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz (192 x 3399)
Memory (System) 3022.32GB (661.34GB free)
VM 0%
Extensions (23)
Extension Author (truncated) Version
better-comments aar 3.0.2
codeium Cod 1.40.1
codespaces Git 1.17.3
copilot Git 1.284.0
copilot-chat Git 0.25.1
remotehub Git 0.64.0
vscode-pull-request-github Git 0.106.0
vscode-ansi ili 1.1.7
rainbow-csv mec 3.18.0
git-graph mhu 1.30.0
vscode-docker ms- 1.29.4
remote-containers ms- 0.401.0
remote-ssh ms- 0.118.0
remote-ssh-edit ms- 0.87.0
live-server ms- 0.4.15
remote-explorer ms- 0.4.3
remote-repositories ms- 0.42.0
multi-command ryu 1.6.0
cody-ai sou 1.76.0
pdf tom 1.2.2
vim vsc 1.29.0
vscode-wakatime Wak 25.0.0
markdown-all-in-one yzh 3.6.3
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
8did9651:31230678
9064b325:31222308
copilot_t_ci:31222730
f5992895:31259995
jda6j935:31233686
pythoneinst12:31257679
bgtreat:31257678
fh1c7952:31258891
31787653:31256342
0339e702:31259951

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmation-pending new release Issues found in a recent release of VS Code terminal-profiles
Projects
None yet
Development

No branches or pull requests

2 participants