fix: add launcher script to wrap langflow startup (#8884)

* Add launcher script to wrap langflow startup

* [autofix.ci] apply automated fixes

* Ruff

* [autofix.ci] apply automated fixes

* ruff

* [autofix.ci] apply automated fixes

* rut pusff

* [autofix.ci] apply automated fixes

* use exec instead of subprocess

* [autofix.ci] apply automated fixes

* Remove forced run addition to cli

* Integrate Typer for improved error handling in langflow launcher

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
Jordan Frazier 2025-07-07 06:28:54 -07:00 • committed by GitHub
commit 56ff3e12f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 130 additions and 110 deletions

View file

@ -233,7 +233,7 @@ override-dependencies = [
]
[project.scripts]
langflow = "langflow.__main__:main"
langflow = "langflow.langflow_launcher:main"
[tool.codespell]
skip = '.git,*.pdf,*.svg,*.pdf,*.yaml,*.ipynb,poetry.lock,*.min.js,*.css,package-lock.json,*.trig.,**/node_modules/**,./stuff/*,*.csv'