Skip to content

fix: handle all possible exceptions and invalid arguments in pysearch #30

Closed
@SpaciousCoder78

Description

@SpaciousCoder78

Right now pysearch will run anything you type into it and open the solutions even if you type something like ‘cd directory’.

Limit it so that it can only accept arguments starting with ‘python3’ or ‘python’ and throws an exception if anything else is entered telling the user to use quickoverflow’s search to browse directories and only use pysearch for running python files

Files to edit: search.py

Fixing this issue will make QuickOverflow fully fit for real life use

Metadata

Metadata

Labels

bugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions