Azure / Azure/azure-functions-host

[Linux] Add timeout for BashCommands

Open
#7,287 4 comments 0 reactions 1 assignee Claimed by @balag0 View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 10h
Merged PRs (30d)
36

Description

https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Management/InstanceManager.cs#L572
We should pass in a timeout and check if process exited: https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.process.waitforexit?view=netcore-3.1

Also see https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script/Workers/ProcessManagement/WorkerProcess.cs#L194-L213 for an example

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.