Skip to content

Feedback for PyDMShellCommand allowMultipleExecutions option #1235

Open
@Ryan-McClanahan

Description

@Ryan-McClanahan

What's the problem this feature will solve?

When the allowMultipleExecutions option is unchecked on the PyDMShellCommand it works as expected. If the shell command is still running then it will not call the shell command. And if the shell command is not currently running it will call the shell command. However, when the command is blocked by this option there is no feedback to the user indicating that it is blocked.

Describe the solution you'd like.

Adding feedback for when the shell command is blocked would help limit confusion. I think disabling the button when the command is running would work well. That way users would not think that the button is broken, but rather understand that something is happening. Adding some context in the tool tip would also be nice. Maybe "Button disabled due to command running" or something.

Additional context.

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions