By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!start /tab.Do the first two in a tab. Return to the first tab. Do the third. Return to the first tab.It's much more difficult for me to try to duplicate the issue when you post screenshots instead of a code block (where I can cut & paste).
set prompt=$e[0m$e[4m$e[92m$p$g$s$e[0m$e[?25h
start /tab /pgm d:\tc36\tcc.exe
start /tab /pgm d:\tc36\tcc.exe
What happens for me is that a TCC session starts out in a new tab, but it is that strange kind that reports that it is a ConPTY session, but in every other respect it is a legacy console session.
You don't need the underlining. Do this.
Code:start /tab /pgm %comspec
Return to the original tab and do this again.
Code:start /tab /pgm %comspec
Original tab now dead and using lots of CPU.
Seems hard-wired here. With no plugins anywhere. Do this twice from the same tab and return to that tab.
Code:start /tab %comspec /ip
[Inspired by @Jay Sage's recent thread about conhost]. In a normal (conpty) tab I did this.
View attachment 6062
I got a new tab as expected. The original tab (the one pictured above) is (1) now unresponsive and (2) using all of one processor.
And (a different problem) if I start a new tab with start /tab %comspec /ip and EXIT the original tab, the new tab disappears with it.
start /tab and then close the TCC session from which that command was issued, the new tab is not closed. Why is it closing for Vince but not for me?/ip is a TCC option ... no plugins. Getting an error is odd.
start /tab "C:\Program Files\JPSoft\TCMD36\TCC.EXE" /ipstart /tab C:\PROGRA~1\JPSoft\TCMD36\TCC.EXE /ipstart /tab "C:\PROGRA~1\JPSoft\TCMD36\TCC.EXE" /ipstart /tab /pgm "C:\PROGRA~1\JPSoft\TCMD36\TCC.EXE" /ipstart /tab /pgm "C:\Program Files\JPSoft\TCMD36\TCC.EXE" /ipYou omitted /PGM so START thinks the quotes string is a title and that /IP is an (incorrect) parameter (to START). There's no error without /IP because with no program name START will start tcc.
start "C:\PROGRA~1\JPSoft\TCMD36\TCC.EXE" /tabIt's too late now, probably, to change the START command to interpret a quoted string as the title only if it occurs, as shown in the help, before another option.
I think I'll make a change to default to /BREAKAWAY if you specify /TAB or /TABNA in START.
That would break the ability to enter a quoted command argument unless you always entered a title.
| start "string" | Opens a TCC session with title "string". |
| start /anyoption(s) "string" | Opens the command specified in "string". The options do not need to include /pgm. start /pos=... or start /tab would suffice. The option /pgm would be needed only if no other option was wanted. It functions basically as /noop, doing nothing but forcing "string" to be interpreted as the command line instead of the title. It would not even have to be the last option among other options. |
| start "string1" [/options] "string2" | Run the command in "string2" with the title in "string1". This works whether or not options are present |
And it would break CMD compatibility.