Skip to content

Behavior when cmd is passed #132

@ikeji

Description

@ikeji

This is more like feature request or request of behavior change.

A. Here is the behavior when I didn't pass the cmd argument.

Steps:

  1. run 'dvtm' command.
  2. exit the shell by typing ^d.

Result:
The shell and dvtm is exit.

B. Here is current behavior when I run dvtm with cmd argument.

Steps:

  1. run 'dvtm python' command.
  2. exit the python by typing ^d.

My expected result:
Python and dvtm is exit.

Actual result:
The python is exit and dvtm starts another shell.
So, dvtm is not exit.

Does this behavior is expected?
Is there any way to skip open new shell?

Version

$ dvtm -v
dvtm-0.15+40.g311a8c0-1build1 © 2007-2016 Marc André Tanner

Use case

I want to open new window like:
xterm -e 'dvtm python'
And expected the window is closed when exist the python.

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