You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Ernie Rael (Jira)" <ji...@apache.org> on 2020/04/10 01:02:00 UTC
[jira] [Commented] (NETBEANS-4143) "Tools > Open in Terminal" fails
with cygwin
[ https://issues.apache.org/jira/browse/NETBEANS-4143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17080147#comment-17080147 ]
Ernie Rael commented on NETBEANS-4143:
--------------------------------------
Does anyone know where "pty" is comming from?
$ file pty
pty: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows
I ask because I can't find the source anywhere. (Not that options, like "--login", should be quoted to bash) But if I do
{quote}$ bash -c "exec bash \"-i\""
{quote}
that works. But maybe it's getting passed to pty as
{quote}$ bash -c "exec bash "-i""
{quote}
Which is probably more likely. But even that works
So maybe pty is preemptively giving up without even trying...
> "Tools > Open in Terminal" fails with cygwin
> --------------------------------------------
>
> Key: NETBEANS-4143
> URL: https://issues.apache.org/jira/browse/NETBEANS-4143
> Project: NetBeans
> Issue Type: Bug
> Components: cnd - Terminalemulator
> Affects Versions: 12.0
> Reporter: Ernie Rael
> Priority: Major
>
> INFO [nativeexecution.support.logger]: [188225 ms.] Unable to start pty process: binary=F:\tmp\dlight_err\24ad3743\899701107\pty; args=[--set-erase-key, F:\cygwin64\bin\bash.exe, -c, exec /cygdrive/F/cygwin64/bin/bash.exe "--login"]; rc=Cannot run program "F:\tmp\dlight_err\24ad3743\899701107\pty": Malformed argument has embedded quote: exec /cygdrive/F/cygwin64/bin/bash.exe \"–login\"
> This is NOT related to NETBEANS-3254 (AFAICT); I tried setting those properties.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists