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-12-05 18:07:32 +00:00
|
|
|
const { getRemoteFor } = require('@electron/internal/renderer/remote')
|
|
|
|
module.exports = getRemoteFor('child_process').require('child_process')
|