Skip to content

Allow for execution on Windows, although this breaks time-out handling.#21

Closed
southernsun wants to merge 1 commit intoHDE:masterfrom
southernsun:patch-1
Closed

Allow for execution on Windows, although this breaks time-out handling.#21
southernsun wants to merge 1 commit intoHDE:masterfrom
southernsun:patch-1

Conversation

@southernsun
Copy link
Copy Markdown

by checking if SIGALRM exists we can determine if it is either running on UNIX or Windows. If it is running on Windows, ignore the timeout feature and just continue.

by checking if SIGALRM exists we can determine if it is either running on UNIX or Windows. If it is running on Windows, ignore the timeout feature and just continue.
@freedomofkeima
Copy link
Copy Markdown
Collaborator

Hi, thank you for your contribution.

Since AWS Lambda itself runs under Linux environment (See http://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html), I guess it's better to output a warning if it is executed in Windows environment, so that users understand Timeout feature will not work. Even better, could you also update README file to include what kind of limitation is expected if python-lambda-local is used in Windows environment?

@yxd-hde
Copy link
Copy Markdown
Contributor

yxd-hde commented Sep 3, 2018

See: #32

@freedomofkeima
Copy link
Copy Markdown
Collaborator

Implemented in #32, released via version 0.1.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants