René's URL Explorer Experiment


Title: child_process: add promises API by Felipeness · Pull Request #62337 · nodejs/node · GitHub

Open Graph Title: child_process: add promises API by Felipeness · Pull Request #62337 · nodejs/node

X Title: child_process: add promises API by Felipeness · Pull Request #62337 · nodejs/node

Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.

Open Graph Description: Summary Add node:child_process/promises module providing promise-based exec() and execFile() functions. Delegates to the existing customPromiseExecFunction in child_process.js via promisify(), foll...

X Description: Summary Add node:child_process/promises module providing promise-based exec() and execFile() functions. Delegates to the existing customPromiseExecFunction in child_process.js via promisify(), foll...

Opengraph URL: https://github.com/nodejs/node/pull/62337

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:22ba2a05-7bef-924c-cb32-d4a4e1eb258c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB51E:34ED9:47F12A:68EF28:6A4E0986
html-safe-nonce8a16392d67911904d7e969b0e9a7412ee080e03a7673fa1180f329b1e740c1f6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTFFOjM0RUQ5OjQ3RjEyQTo2OEVGMjg6NkE0RTA5ODYiLCJ2aXNpdG9yX2lkIjoiMjIwMjU0MzY0NDQ1OTUzNDcyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac11662c9a67bbbcdba4448d59b6e05537d898e04261fc28dced2155fda192e2dc
hovercard-subject-tagpull_request:3420247862
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/62337/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4a18a2f2b408dd9c7829292aa1fb566702e814bf782bb4288c5746c9b8540ab1/nodejs/node/pull/62337
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4a18a2f2b408dd9c7829292aa1fb566702e814bf782bb4288c5746c9b8540ab1/nodejs/node/pull/62337
og:image:altSummary Add node:child_process/promises module providing promise-based exec() and execFile() functions. Delegates to the existing customPromiseExecFunction in child_process.js via promisify(), foll...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFelipeness
hostnamegithub.com
expected-hostnamegithub.com
Nonedf0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6
turbo-cache-controlno-cache
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release52bde38e24398476f8eb1e0760c81346c6a00812
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/62337#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F62337
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F62337
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/62337
Reloadhttps://github.com/nodejs/node/pull/62337
Reloadhttps://github.com/nodejs/node/pull/62337
Please reload this pagehttps://github.com/nodejs/node/pull/62337
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/62337
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 36k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 118k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.3k https://github.com/nodejs/node/issues
Pull requests 963 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Felipenesshttps://github.com/Felipeness
nodejs:mainhttps://github.com/nodejs/node/tree/main
Felipeness:fix/child-process-promiseshttps://github.com/Felipeness/node/tree/fix/child-process-promises
Conversationhttps://github.com/nodejs/node/pull/62337
Commits2 (2)https://github.com/nodejs/node/pull/62337/commits
Checkshttps://github.com/nodejs/node/pull/62337/checks
Files changedhttps://github.com/nodejs/node/pull/62337/files
child_process: add promises APIhttps://github.com/nodejs/node/pull/62337#top
Felipenesshttps://github.com/Felipeness
nodejs:mainhttps://github.com/nodejs/node/tree/main
Felipeness:fix/child-process-promiseshttps://github.com/Felipeness/node/tree/fix/child-process-promises
https://github.com/Felipeness
Felipenesshttps://github.com/Felipeness
Mar 19, 2026https://github.com/nodejs/node/pull/62337#issue-4101935783
Please reload this pagehttps://github.com/nodejs/node/pull/62337
#49904https://github.com/nodejs/node/issues/49904
Please reload this pagehttps://github.com/nodejs/node/pull/62337
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
child_process https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Achild_process
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
Mar 19, 2026https://github.com/nodejs/node/pull/62337#event-23719202601
https://github.com/aduh95
aduh95https://github.com/aduh95
Mar 19, 2026 https://github.com/nodejs/node/pull/62337#pullrequestreview-3975860517
View reviewed changes https://github.com/nodejs/node/pull/62337/files
doc/api/child_process.mdhttps://github.com/nodejs/node/pull/62337/files#diff-fb4d08d898bf0f72e95ea3627f5838fdf1c4b5adc303cd7c8f526da13e57faf5
Please reload this pagehttps://github.com/nodejs/node/pull/62337
lib/child_process/promises.jshttps://github.com/nodejs/node/pull/62337/files#diff-271fd72662ce94b9b1a8f5ea8b6370dc1d9007287c91de952aada3c139f286e3
aduh95https://github.com/aduh95
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2960774074
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
Felipenesshttps://github.com/Felipeness
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2961075291
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@aduh95https://github.com/aduh95
Please reload this pagehttps://github.com/nodejs/node/pull/62337
lib/child_process/promises.jshttps://github.com/nodejs/node/pull/62337/files#diff-271fd72662ce94b9b1a8f5ea8b6370dc1d9007287c91de952aada3c139f286e3
aduh95https://github.com/aduh95
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2960776399
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
Felipenesshttps://github.com/Felipeness
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2961077322
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
test/parallel/test-child-process-promises.jshttps://github.com/nodejs/node/pull/62337/files#diff-72fa3186f13f75b2d8c7a9369c3a4e32755ede5fd53f9ac313c19403eea13f90
aduh95https://github.com/aduh95
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2960792372
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
Felipenesshttps://github.com/Felipeness
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2961079948
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
test/parallel/test-child-process-promises.jshttps://github.com/nodejs/node/pull/62337/files#diff-72fa3186f13f75b2d8c7a9369c3a4e32755ede5fd53f9ac313c19403eea13f90
aduh95https://github.com/aduh95
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2960801015
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
Felipenesshttps://github.com/Felipeness
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2961081703
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
test/parallel/test-child-process-promises.jshttps://github.com/nodejs/node/pull/62337/files#diff-72fa3186f13f75b2d8c7a9369c3a4e32755ede5fd53f9ac313c19403eea13f90
aduh95https://github.com/aduh95
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2960806478
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
Felipenesshttps://github.com/Felipeness
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2961083394
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
test/parallel/test-child-process-promises.jshttps://github.com/nodejs/node/pull/62337/files#diff-72fa3186f13f75b2d8c7a9369c3a4e32755ede5fd53f9ac313c19403eea13f90
aduh95https://github.com/aduh95
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2960814858
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
Felipenesshttps://github.com/Felipeness
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2961084886
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
test/parallel/test-child-process-promises.jshttps://github.com/nodejs/node/pull/62337/files#diff-72fa3186f13f75b2d8c7a9369c3a4e32755ede5fd53f9ac313c19403eea13f90
aduh95https://github.com/aduh95
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2960823055
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
Felipenesshttps://github.com/Felipeness
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2961086663
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
test/parallel/test-child-process-promises.jshttps://github.com/nodejs/node/pull/62337/files#diff-72fa3186f13f75b2d8c7a9369c3a4e32755ede5fd53f9ac313c19403eea13f90
aduh95https://github.com/aduh95
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2960835985
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
Felipenesshttps://github.com/Felipeness
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2961089021
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
test/parallel/test-child-process-promises.jshttps://github.com/nodejs/node/pull/62337/files#diff-72fa3186f13f75b2d8c7a9369c3a4e32755ede5fd53f9ac313c19403eea13f90
aduh95https://github.com/aduh95
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2960854439
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
Felipenesshttps://github.com/Felipeness
Mar 19, 2026https://github.com/nodejs/node/pull/62337#discussion_r2961090904
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/62337
https://github.com/Felipeness
feat(child_process): add promises API via delegationhttps://github.com/nodejs/node/pull/62337/commits/94ab73cae10df9cc27f2c6e6b67b9967c2f390ab
94ab73chttps://github.com/nodejs/node/pull/62337/commits/94ab73cae10df9cc27f2c6e6b67b9967c2f390ab
https://github.com/Felipeness
Felipenesshttps://github.com/Felipeness
force-pushedhttps://github.com/nodejs/node/compare/f583b4b7208af4dcb8d227bb1302cb8c76899779..94ab73cae10df9cc27f2c6e6b67b9967c2f390ab
f583b4bhttps://github.com/nodejs/node/commit/f583b4b7208af4dcb8d227bb1302cb8c76899779
94ab73chttps://github.com/nodejs/node/commit/94ab73cae10df9cc27f2c6e6b67b9967c2f390ab
Compare https://github.com/nodejs/node/compare/f583b4b7208af4dcb8d227bb1302cb8c76899779..94ab73cae10df9cc27f2c6e6b67b9967c2f390ab
March 19, 2026 15:36https://github.com/nodejs/node/pull/62337#event-23722441106
https://github.com/aduh95
aduh95https://github.com/aduh95
Mar 19, 2026https://github.com/nodejs/node/pull/62337#issuecomment-4091174553
Please reload this pagehttps://github.com/nodejs/node/pull/62337
https://github.com/Felipeness
fix(child_process): apply review feedback from aduh95https://github.com/nodejs/node/pull/62337/commits/6a758b93663f3c2daf701c8f60076c37b50dcfd5
6a758b9https://github.com/nodejs/node/pull/62337/commits/6a758b93663f3c2daf701c8f60076c37b50dcfd5
https://github.com/Felipeness
Felipenesshttps://github.com/Felipeness
Mar 19, 2026https://github.com/nodejs/node/pull/62337#issuecomment-4091288052
@aduh95https://github.com/aduh95
Please reload this pagehttps://github.com/nodejs/node/pull/62337
https://github.com/aduh95
aduh95https://github.com/aduh95
Mar 19, 2026https://github.com/nodejs/node/pull/62337#issuecomment-4091370479
Please reload this pagehttps://github.com/nodejs/node/pull/62337
https://github.com/Felipeness
Felipenesshttps://github.com/Felipeness
Mar 19, 2026https://github.com/nodejs/node/pull/62337#issuecomment-4091413382
Please reload this pagehttps://github.com/nodejs/node/pull/62337
https://github.com/aduh95
aduh95https://github.com/aduh95
Mar 19, 2026https://github.com/nodejs/node/pull/62337#issuecomment-4091453983
Please reload this pagehttps://github.com/nodejs/node/pull/62337
Please reload this pagehttps://github.com/nodejs/node/pull/62337
https://github.com/Felipeness
Felipenesshttps://github.com/Felipeness
Mar 19, 2026https://github.com/nodejs/node/pull/62337#issuecomment-4091535781
Please reload this pagehttps://github.com/nodejs/node/pull/62337
https://github.com/aduh95
aduh95https://github.com/aduh95
Mar 20, 2026https://github.com/nodejs/node/pull/62337#issuecomment-4096722177
nodejs/admin@8b746bchttps://github.com/nodejs/admin/commit/8b746bcf3e5d8699d277a23a5a22b06f8546b505
Please reload this pagehttps://github.com/nodejs/node/pull/62337
https://github.com/aduh95
aduh95https://github.com/aduh95
Mar 20, 2026https://github.com/nodejs/node/pull/62337#event-23746035133
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
Mar 22, 2026 https://github.com/nodejs/node/pull/62337#ref-pullrequest-4102005884
test_runner: add statement coverage support #62340 https://github.com/nodejs/node/pull/62340
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F62337
https://github.com/aduh95
aduh95 https://github.com/aduh95
https://github.com/nodejs/node/pull/62337/files/f583b4b7208af4dcb8d227bb1302cb8c76899779
child_process https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Achild_process
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
Add Promise-based versions for some functions in child_process https://github.com/nodejs/node/issues/49904
Please reload this pagehttps://github.com/nodejs/node/pull/62337
https://github.com/Felipeness
https://github.com/aduh95
https://github.com/nodejs-github-bot
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.