This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 255936 - "Unable to find any valid shell." window instead of External Terminal
Summary: "Unable to find any valid shell." window instead of External Terminal
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-14 19:55 UTC by soldatov
Modified: 2016-03-16 08:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
proposed patch (6.13 KB, patch)
2015-10-19 15:10 UTC, Alexander Simon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2015-10-14 19:55:06 UTC
Windows 7
Path=C:\MinGW\bin;%PATH%

Scenario:
- Create Welcome project
- Call Project Properties window
- Set Run|Console Type=External Terminal
- Push OK button
- Clean and Build project
- Run project
==> "Unable to find any valid shell. It is needed for execution in an external terminal. Will start in OutputWindow"

In "Build Tools" tab I see all tools (compilers in C:\MinGW\bin and make in C:\MinGW\msys\1.0\bin). Therefore I think IDE can get all paths in order to launch terminal. And "Path=C:\MinGW\msys\1.0\bin;%Path%" workaround is not needed.
Comment 1 Alexander Simon 2015-10-19 15:10:46 UTC
Created attachment 156806 [details]
proposed patch
Comment 2 Alexander Simon 2015-10-19 15:47:25 UTC
fixed in enum, change set:
a207cf8ca327
Comment 3 Quality Engineering 2015-10-29 02:22:32 UTC
Integrated into 'main-silver', will be available in build *201510290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c63478c8202f
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #255936 "Unable to find any valid shell." window instead of External Terminal
(transplanted from a207cf8ca327f9bae284a7ea16da7231ee8884a3)
Comment 4 soldatov 2015-11-22 13:21:42 UTC
Verified in NetBeans 8.1 patch1