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

npm ScriptExplorer does't work with Cmder's shell #55458

Closed
deepkolos opened this issue Jul 31, 2018 · 8 comments
Closed

npm ScriptExplorer does't work with Cmder's shell #55458

deepkolos opened this issue Jul 31, 2018 · 8 comments
Assignees
Labels
info-needed Issue requires more information from poster tasks Task system issues

Comments

@deepkolos
Copy link

Issue Type: Bug

vscode s npm script doesn t work with cmder shel

VS Code version: Code 1.25.1 (1dfc5e5, 2018-07-11T15:43:53.668Z)
OS version: Windows_NT x64 6.1.7601

System Info
Item Value
CPUs Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz (8 x 2594)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_software
video_decode: enabled
video_encode: enabled
vpx_decode: unavailable_software
webgl: enabled
webgl2: enabled
Memory (System) 7.93GB (2.30GB free)
Process Argv d:\Program Files\Microsoft VS Code\Code.exe D:\DEV\Github\work\fengBBSFront
Screen Reader no
VM 67%
Extensions (53)
Extension Author (truncated) Version
language-x86-64-assembly 13x 2.2.11
include-autocomplete ajs 0.0.4
Bookmarks ale 9.0.2
copy-relative-path ale 0.0.2
npm-intellisense chr 1.3.0
path-intellisense chr 1.4.2
bracket-pair-colorizer Coe 1.0.59
vscode-svgviewer css 1.4.4
vbscript Dar 1.0.4
vue-peek dar 1.0.2
vscode-eslint dba 1.4.12
githistory don 0.4.2
gitlens eam 8.5.4
vscode-npm-script eg2 0.3.5
prettier-vscode esb 1.5.0
javac-linter fau 1.3.1
php-debug fel 1.12.3
php-intellisense fel 2.3.3
php-pack fel 1.0.1
auto-close-tag for 0.5.6
auto-rename-tag for 0.0.15
matlab Gim 0.9.0
npm-dependency-links her 1.0.0
search-node-modules jas 1.3.0
webpack jer 2.1.0
node-module-intellisense lei 1.5.0
VBScript lug 0.0.2
dotenv mik 1.0.1
vscode-clang mit 0.2.2
vscode-attrs-sorter mrm 2.1.0
vscode-language-pack-zh-hans MS- 1.25.3
mssql ms- 1.4.0
python ms- 2018.7.1
cpptools ms- 0.17.7
debugger-for-chrome msj 4.8.2
vuejs-extension-pack mub 1.1.2
makefiles-support-for-vscode nae 0.0.3
vetur oct 0.12.5
material-icon-theme PKi 3.5.2
scheme reb 0.0.2
npmsmartimporter ref 3.0.0
vue-vscode-extensionpack sdr 0.1.3
vue-vscode-snippets sdr 1.3.0
code-settings-sync Sha 3.0.0
vscode-nginx sha 0.5.0
vscode-status-bar-format-toggle tom 1.4.0
vscode-arduino vsc 0.2.19
vscode-react-native vsm 0.6.13
nodejs-extension-pack wad 0.1.9
vscode-todo-highlight way 1.0.4
vscode-jumpy wma 0.3.1
JavaScriptSnippets xab 1.7.0
map-replace-js Yuk 0.1.0

(2 theme extensions excluded)

@vscodebot
Copy link

vscodebot bot commented Jul 31, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@vscodebot vscodebot bot added the terminal General terminal issues that don't fall under another label label Jul 31, 2018
@Tyriar Tyriar added tasks Task system issues and removed terminal General terminal issues that don't fall under another label labels Aug 3, 2018
@Tyriar Tyriar assigned dbaeumer and unassigned Tyriar Aug 3, 2018
@egamma egamma self-assigned this Aug 13, 2018
@egamma
Copy link
Member

egamma commented Aug 14, 2018

@deepkolos can you reproduce the problem when you run the same task from the Task menu in the menubar, that is, Tasks>Run Task....

@dbaeumer dbaeumer added the info-needed Issue requires more information from poster label Aug 14, 2018
@deepkolos
Copy link
Author

@dbaeumer

vscode cmder

vscode.bat's content

@echo off
SET CurrentWorkingDirectory=%CD%
SET CMDER_ROOT=D:\APP\cmder
CALL "%CMDER_ROOT%\vendor\init.bat"
CD /D %CurrentWorkingDirectory%

cmder is a portable version

@egamma egamma removed their assignment Aug 15, 2018
@egamma
Copy link
Member

egamma commented Aug 15, 2018

Removing my assignment since the same problem happens when the task is launched from the Task menu.

@dbaeumer
Copy link
Member

dbaeumer commented Aug 15, 2018

I am not familiar with cmder.

@deepkolos does cmder support the -c | /C flag as cmd.exe or bash.exe do. If so what is the flag to execute cmder in command mode. Without such a flag there is no way this can be supported.

@deepkolos
Copy link
Author

deepkolos commented Aug 15, 2018

@dbaeumer i fond this may help, cmder is base on conemu

https://conemu.github.io/en/CommandLine.html

https://s1.ax1x.com/2018/08/15/PRwR5d.png

@alexr00
Copy link
Member

alexr00 commented Jan 4, 2019

@deepkolos, in your tasks.json if you add:

	"options": {
		"shell": {
			"args": [
				"-run"
			]
		}
	}

Does it work?

@alexr00 alexr00 added info-needed Issue requires more information from poster and removed info-needed Issue requires more information from poster labels Jan 4, 2019
@vscodebot vscodebot bot closed this as completed Jan 11, 2019
@vscodebot
Copy link

vscodebot bot commented Jan 11, 2019

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster tasks Task system issues
Projects
None yet
Development

No branches or pull requests

5 participants