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

piaas app run with -t flag did not run sbt task in the background. #7

Open
sohoffice opened this issue Jun 9, 2019 · 0 comments
Open

Comments

@sohoffice
Copy link
Owner

sohoffice commented Jun 9, 2019

If we defined a sbt task, and start it with piaas app run -t. The sbt command will connect to incorrect tty and wait indefinitely. However, if we omit the -t flag, the sbt command can successfully run in the background.

Maybe we should fork a child to run the task ? We could terminate the forked child right after the task was executed, and tail from the main process.

Not sure whether sbt is the sole instance of such issue

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