Skip to content

Conversation

@Pragadesh-45
Copy link
Contributor

fixes: #1724

Description

This PR implements the feature of adding the process environment variable context for scripting.

  • Added process environment variable support in ScriptRuntime and TestRuntime.
  • Updated node-vm and quickjs sandboxes to utilize context-specific process properties.
  • Improved handling of process in the execution context for better compatibility.

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Before:
image

After:
image

- Added process environment variable support in ScriptRuntime and TestRuntime.
- Updated node-vm and quickjs sandboxes to utilize context-specific process properties.
- Improved handling of process in the execution context for better compatibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] process.env is empty in all script environments

1 participant