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

commands work in terminal but not in integrated terminal Catalina #95725

Closed
xiaoouwang opened this issue Apr 20, 2020 · 6 comments
Closed

commands work in terminal but not in integrated terminal Catalina #95725

xiaoouwang opened this issue Apr 20, 2020 · 6 comments
Assignees
Labels
macos-catalina terminal General terminal issues that don't fall under another label
Milestone

Comments

@xiaoouwang
Copy link

xiaoouwang commented Apr 20, 2020

  • VSCode Version: Version: 1.44.2
  • OS Version: Darwin x64 19.4.0. Catalina 10.15.4

Steps to Reproduce:

The following command works in terminal or iterm:

sendpraat praat 'execute "test.praat"'

however if you use it in the integrated terminal neither works, nothing happens.

I suspect it had something to do with the Catalina's new privacy system because when I use the command in terminal it asked permission so in my automation panel the praat program is related to terminal.

image

Does this issue occur when all extensions are disabled?: Yes

@Tyriar
Copy link
Member

Tyriar commented Apr 21, 2020

FYI @deepak1556, seems related to Electron/process permissions.

@Tyriar Tyriar assigned deepak1556 and unassigned Tyriar Apr 21, 2020
@deepak1556
Copy link
Collaborator

when I use the command in terminal it asked permission

@xiaoouwang what permission was asked ?

@deepak1556 deepak1556 added macos-catalina info-needed Issue requires more information from poster labels Apr 21, 2020
@xiaoouwang
Copy link
Author

when I use the command in terminal it asked permission

@xiaoouwang what permission was asked ?

image

Actually I can replicate it simply by unchecking praat under terminal or iterm. When I uncheckit the command simply does nothing.

Too bad that I can't add manually items in the Automation tab.

@deepak1556
Copy link
Collaborator

Thanks, this is not possible to workaround at the moment, the work done for #95062 (comment) should help this one too.

@deepak1556 deepak1556 added terminal General terminal issues that don't fall under another label and removed info-needed Issue requires more information from poster labels Apr 21, 2020
@deepak1556 deepak1556 added this to the May 2020 milestone Apr 21, 2020
@xiaoouwang
Copy link
Author

Thanks, this is not possible to workaround at the moment, the work done for #95062 (comment) should help this one too.

tks, I finally use sudo code to launch vscode and the command works. It's a "dangerous" workaround but better than nothing.

@deepak1556 deepak1556 modified the milestones: May 2020, Backlog Jun 4, 2020
@deepak1556
Copy link
Collaborator

Merging this to #95062

@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
macos-catalina terminal General terminal issues that don't fall under another label
Projects
None yet
Development

No branches or pull requests

3 participants