Skip to content

command line option -d and saved workspace #497

@eldmos

Description

@eldmos

hi,

I'm wondering about the following scenario:

for more convenient use with different folder locations I added a registry key for windows shell integration which allows (in Windows explorer) to open a console window (= new tab) from the current selected directory. as a result I use -d command line parameter to have Console.exe's tabs running with a startup directory.

at the same time I'd like to have all former tabs restored whenever I newly start the program.

steps to reproduce

  1. enable: Edit -> Settings -> Behavior -> More... -> Save workspace on exit
  2. open two tabs with different locations
  3. close Console.exe
  4. from windows command line run:
    Console.exe -d '3rd_directory'

actual behavior

  • the two former opened tabs are restored from workspace, '3rd_directory' is not added as a new tab
  • (with step 4 above) when adding command line parameter -t with a dedicated console, indeed '3rd_directory' gets added but no former tabs are restored.

expected behavior

if no instance of Console.exe is running the two former opened tabs are restored from saved workspace and '3rd_directory' is added as a new tab - this is of course with single instance of Console.exe.

is this the intended way of using these options together and is there a way to overcome this? many thanks in advance.

DiagnoseReport.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions