These are chat archives for cbucher/console

4th
Apr 2017
Christophe Bucher
@cbucher
Apr 04 2017 06:22

@Lunatrius I think you're right.
"Initial command" can be found everywhere in code and documentation (-r command line argument). This parameter is simply concatenated to the shell command line.
It can be used to pass

  • an initial command
    console -t cmd -r "dir /b"
    where shell (in cmd tab settings) is cmd.exe /K
  • or arguments
    console -t cmd -r "/K """dir /b""""
    where shell (in cmd tab settings) is cmd.exe

Previous author probably designed the feature thinking to the first case.
It implies replacing "initial command" in code, documentation and workspace XML schema.

Jadran Kotnik
@Lunatrius
Apr 04 2017 14:36
Oh, I see. So it's a legacy thing. It was just a random thought while I was looking at the XML structure of the workspace file.
Christophe Bucher
@cbucher
Apr 04 2017 22:38
I started to replace "initial command" occurrences.