2018-09-22 12:28:50 +00:00
|
|
|
'use strict'
|
|
|
|
|
2018-12-05 09:34:09 +00:00
|
|
|
const { deprecate } = require('electron')
|
|
|
|
|
|
|
|
deprecate.warn(`require('child_process')`, `remote.require('child_process')`)
|
|
|
|
|
2018-10-13 17:50:07 +00:00
|
|
|
const { getRemoteForUsage } = require('@electron/internal/renderer/remote')
|
|
|
|
module.exports = getRemoteForUsage('child_process').require('child_process')
|