rheostat2718 / conemu-maximus5

Automatically exported from code.google.com/p/conemu-maximus5
7 stars 1 forks source link

When I start ConEmu, why does it immediately close and launch a normal cmd window? #1810

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Required information!
OS version: Windows 8.1 x64
ConEmu version: 141112
Far version (if you are using Far Manager): N/A

For some reason, when I start up ConEmu, it looks like it closes and 
immediately opens up a normal cmd window.  This is on a Windows 8.1 machine.  
I've used ConEmu on another Windows 8.1 machine as well as a Windows 7 machine, 
and those open up to a ConEmu window.  I can't figure out which setting to 
tweak, please help.

Original issue reported on code.google.com by djsz...@gmail.com on 13 Nov 2014 at 6:19

GoogleCodeExporter commented 9 years ago
Your shell exits and ConEmu exits too.
What are you running?

ConEmu -basic -cmd cmd

LogFiles

Original comment by ConEmu.Maximus5 on 13 Nov 2014 at 6:29

GoogleCodeExporter commented 9 years ago
I start ConEmu by either clicking on the shortcut or double-clicking on the 
executable.
It looks like it is the ConEmu window that appears first (it's really fast, and 
I am not certain it is) and then closes immediately.
Next, a normal cmd window appears.  This cmd window does not disappear.

I won't be at the machine that has this problem until tonight.  Should I try to 
run it with the log switch, like:
conemu -basic -cmd cmd /log

Original comment by djsz...@gmail.com on 13 Nov 2014 at 7:23

GoogleCodeExporter commented 9 years ago
conemu -basic -log -cmd cmd

Original comment by ConEmu.Maximus5 on 13 Nov 2014 at 9:00

GoogleCodeExporter commented 9 years ago
Aha!  These parameters make it so that conemu does not disappear.  But I'd 
rather not have to type these in or make a shortcut.  I'd like to make it so 
that even if I just double-clicked on the executable, the conemu window stays.  
I must have made a configuration change somewhere, but I can't figure out what 
it is.  Somebody please tell me what settings I have to change.

Original comment by djsz...@gmail.com on 14 Nov 2014 at 4:39

GoogleCodeExporter commented 9 years ago
ConEmu -detached

Original comment by ConEmu.Maximus5 on 14 Nov 2014 at 5:01

GoogleCodeExporter commented 9 years ago
Sorry, I'm kind of new to this.   Is that 'detached' something I can set via 
the Settings menu?  I DON'T want to have to type that parameter every time I 
run conemu.

Original comment by djsz...@gmail.com on 14 Nov 2014 at 5:28

GoogleCodeExporter commented 9 years ago
SettingsStartup

Original comment by ConEmu.Maximus5 on 14 Nov 2014 at 5:31

GoogleCodeExporter commented 9 years ago
Ok, I am in the Settings -> Startup menu.  Am I supposed to put in Command line:
conemu -detached
That didn't seem to work.  It results in the conemu window opening and 
disappearing immediatley, and a cmd window opening and then disappearing 
immediately.

I also checked the settings to another instance of conemu (version 120727c x64) 
on another Windows 8.1 machine, and it has nothing in the Settings -> Startup 
menu.

I'm still confused.

Original comment by djsz...@gmail.com on 14 Nov 2014 at 7:51

GoogleCodeExporter commented 9 years ago
I ran from a cmd prompt:
conemu -basic -log -cmd cmd

Attached are the logs.

Original comment by djsz...@gmail.com on 14 Nov 2014 at 8:38

Attachments:

GoogleCodeExporter commented 9 years ago
Man, you must put in SettingsStartup your SHELL command line! but not ConEmu 
and ConEmu's switches!

Obviously, your shell (I still do not know what are you running!) has some 
problems and it exits as I'd already said in #1.

But attach LogFiles from "ConEmu -log"

Original comment by ConEmu.Maximus5 on 14 Nov 2014 at 8:43

GoogleCodeExporter commented 9 years ago
Here are the logs from running
ConEmu -log

I suppose the shell that I'm using is the cmd shell.  I put that in the Command 
line field, but now I don't have a save button anymore to save the settings 
(see screenshot).

Original comment by djsz...@gmail.com on 14 Nov 2014 at 9:14

Attachments:

GoogleCodeExporter commented 9 years ago
I think I'm supposed to choose {cmd} from the Specified name task list, but now 
I'm stuck again: There is no Save settings button.  Please help.

Original comment by djsz...@gmail.com on 16 Nov 2014 at 1:09

GoogleCodeExporter commented 9 years ago
You are not allowed to save basic settings of course. Do not use -basic switch 
if you want to save!

But, run the following and show screenshot:
ConEmu -basic -cmd cmd /D -new_console:c

Original comment by ConEmu.Maximus5 on 16 Nov 2014 at 1:18

GoogleCodeExporter commented 9 years ago
I figured it out.
Ran:
conemu -cmd cmd

Checked the radio button for Specified named task and chose {cmd}
Also need to check the radio button for Auto save/restore opened tabs
Was then able to Save settings.

Now it starts up in the conemu interface.

Thanks for all your help!!

Original comment by djsz...@gmail.com on 17 Nov 2014 at 6:59

GoogleCodeExporter commented 9 years ago

Original comment by ConEmu.Maximus5 on 17 Nov 2014 at 7:02