Skip to content

Reusable command line on Windows and MacOS #3

@Tremeschin

Description

@Tremeschin

When folks double click the executable, a terminal opens, the project runs the entry point with args and closes.

I'm personally handling this basic shell mode and looping on python itself, but it may be a good idea to at least spawn powershell on Windows and $SHELL elsewhere where the executable is located. Kinda hard to guide them to type ./release-name (args) again, as they can (and should) be versioned, so it only solves half the problem.

I'm slightly reluctant on looping a command line in Pyaket's rust side, because scripts or programs shouldn't hold entitled of the shell.

Another issue with it, any shell-like implementation on rust won't have any, well, shell features at all such as completion, running files, settings envs. Do not roll your own crypto; but maybe spawning starship-rs could do it, might bloat dependencies though.

Not sure if it's a real problem per-se, it's not like idk stable diffusion webuis needs a command line, or rather gui apps in general.

Linux folks know their command line, it's fiiine.

Happy to hear suggestions and feedback!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Feedback

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions