Azure / Azure/InnovationEngine
Unable to run background processes
- Dominant language
- Go
- Stars
- 40
- Forks
- 27
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 1
Description
It seems that IE can't currently execute background processes. This means that some scripts are not possible, for example, I'm trying to write a doc that will create and deploy a functions + storage application. To do this it is I am using the Functions Core Tools as follows:
Install dependencies
```bash
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-$(lsb_release -cs)-prod $(lsb_release -cs) main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt update
```
```bash
sudo apt-get install -y azure-functions-core-tools-4
```
```bash
export FUNCTION_RUNTIME_VERSION="20"
curl -fsSL https://deb.nodesource.com/setup_$FUNCTION_RUNTIME_VERSION.x | sudo -E bash -
sudo apt install -y nodejs
sudo apt install -y npm
```
Create local functions project.
```bash
func init --javascript
npm install
```
This works when running manually, but the `npm install` requires return to be pressed to get control back. In IE it never returns control, the "busy" indicator just keeps spinning:
```bash
\[2024-06-07T23:43:03.538Z] Worker process started and initialized.
/[2024-06-07T23:43:08.535Z] Host lock lease acquired by instance ID '000000000000000000000000B8866BB3'.
/
```
Contributor guide
Assessment
This issue has not been assessed yet.