Add a short sleep to tail of postStartCommand #8536
Labels
containers
Issue in vscode-remote containers
feature-request
Request for new features or functionality
Milestone
The
postStartCommand
will execute the given command and then the parent process will abruptly terminate. This creates issues with executing background tasks. Take this bash script that is executed for example:What behavior would you expect to happen here?
What does happen is that
postStartBackground.out
is created, but nothing is actually executed. The workaround is to add a sleep at the end of the script. My suggestion is to wrap thepostStartCommand
such that it also gives time for any background programs to execute.The text was updated successfully, but these errors were encountered: