Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When running from a batch file, lines below generate-md cannot execute #71

Open
Kotsuha opened this issue Mar 20, 2021 · 1 comment
Open

Comments

@Kotsuha
Copy link

Kotsuha commented Mar 20, 2021

generate-md --layout github --input "./md" --output "./dist"
PAUSE

HTML files are generated perfectly. However, PAUSE doesn't run.

@Kotsuha
Copy link
Author

Kotsuha commented Mar 20, 2021

I've found a workaround. Create a convert-md-to-html.bat batch file:

@ECHO OFF
CD /D "%~dp0"

generate-md --layout github --input "%~1" --output "%~2"

EXIT /B 0

Create a test.bat batch file:

CALL convert-md-to-html "md" "dist"
ECHO.
ECHO Done

PAUSE

Run test.bat and I can have my lines below run.

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

No branches or pull requests

1 participant