Skip to content

Batch files support#2

Draft
diegoiast wants to merge 13 commits intomainfrom
batch-files-support
Draft

Batch files support#2
diegoiast wants to merge 13 commits intomainfrom
batch-files-support

Conversation

@diegoiast
Copy link
Copy Markdown
Owner

Adding support for executing external *.bat files.

WIP.

1. move `file_exists` to a global scope, instead of `if`
1. prompt is printed only on interactive shells.
1. We can start a new batch file (no `call` support yet).  We can even
   nest batches one inside another.
1. Exiting from a batch file is iffie. I need to re-think how this
   works.
as a bonus - also support for running batch files without extensions.
1. move `file_exists` to a global scope, instead of `if`
1. prompt is printed only on interactive shells.
1. We can start a new batch file (no `call` support yet).  We can even
   nest batches one inside another.
1. Exiting from a batch file is iffie. I need to re-think how this
   works.
as a bonus - also support for running batch files without extensions.
I have no idea how this worked before. Don't care - now it does work :)
@diegoiast diegoiast self-assigned this Jul 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant