-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Integrated terminal cannot find system executables #44646
Comments
@mlewis-everley you mention you got VS Code from the software center? We don't actually distribute in any software center yet AFAIK, we only expose a deb package at https://code.visualstudio.com/download Could you be installing https://snapcraft.io/vscode? Can you check where VS Code was installed to? |
@Tyriar VS Code is available in the Software Manager in Mint 18.3 under the "FlatPack" (https://www.flatpak.org/) category: I will be honest, I know sod all about FlatPack, but the command it adds to the menu runs it like so:
If you try and run
|
@mlewis-everley yeah that's probably your problem. That's an unofficial distribution that we cannot support (which could be tampered with in any way the author wanted). I'd uninstall that, install the official deb and try again. Also is that tick meant to mean verified/official or installed? |
@Tyriar It means installed, I am not really sure who maintains the Flatpack software, it is new in this version of Mint I think. I will uninstall this version and try again, I only installed it as I assumed it was an official package :-o |
OK, I can confirm that the official .deb package works as expected. Not really sure who is responsible for the flatpack version. If anyone else is having issues with the version from Linux Mint Software Manager, remove and install the official .deb instead. |
@mlewis-everley the repo is here https://github.com/flathub/com.visualstudio.code, thanks for confirming. I'll comment the fix over at #40544 too |
Steps to Reproduce:
$ php -v
.$ bash: php: command not found
.$ php -v
.$ PHP 7.0.25-0ubuntu0.16.04.1 (cli) ( NTS )...
Does this issue occur when all extensions are disabled?: Yes
This has already been reported in issue #40544 (but that has been closed).
I have changed the following VS code settings (in an attempt to fix this):
Running
$ which php
in Linux terminal returns:/usr/bin/php
Running
$ ls - l /usr/bin
in the integrated terminal results in (no php):Finally, if I run
$ ls -l /
in Linux terminal:But if I run
$ls -l /
in VSCode integrated terminal, I get different results (which look quite odd):Not quite sure what is going on there...
The text was updated successfully, but these errors were encountered: