Skip to content

Port PM commands to the unified shell commands for split shell mode #910

@emmuhamm

Description

@emmuhamm

Description

We want the unified shell to support what already exists in the process manager shell in the context of split shell usage.

Importantly, the unified shell's context should only play with the relevant context of the session. What this means is, lets say theres two sessions that the process manager is tracking, which is something thats entirely possible.

In the process manager shell, if you terminate, it should kill everything. This should work as expected (verify this!)

However, in the unified shell, if we connect this in to the process manager shell with a specific session, then it should only kill that relevant session.

There is also a bug on the logs, tracked in #903

  • ps
  • boot
  • logs
  • wait
    • wait doesnt have an implementation in the PM shell, is that a problem?
  • restart
    • I mean it kinda works but even in the main US usage the pm restart leaves it in error?
  • kill
  • flush
  • terminate

Notes

  • most of the commands here are targetted, so they need default parameters anyway so thats all good
  • boot also requires arguments so theres no worries that needs to be done there?
  • Wait doesnt have an implementation in the PM shell.
  • terminate appearrs to work just fine.

So, no changes necessary?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions