Commit 212eb8a5 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

child_process: fix O(n*m) scan of cmd string

Don't scan the whole string for a "NODE_" substring, just check that
the string starts with the expected prefix.

This is a reprise of dbbfbe74 but this time for the child_process
module.
parent dbbfbe74
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment