Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Clone in Desktop Download ZIP
Restart an electron app as a detached process
JavaScript
Latest commit 803521d @parro-it 0.1.0
Failed to load latest commit information.
src changed flag name
.editorconfig first commit
.gitignore first commit
.npmignore first commit
.nvmrc first commit
electron-detach.sublime-project first commit
license first commit
package.json 0.1.0
readme.md add options management

readme.md

electron-detach

This module restart the app as a detached electron process, allowing an electron app to be started from terminal and survive parent process closure.

NPM module NPM downloads

Installation

npm install --save electron-detach

Usage

  import electronDetach from 'electron-detach';
  electronDetach({
    requireCmdlineArg: false
  });

Options

  • requireCmdlineArg

only restart the app if --detach command line argument is present. Defaults to false.

License

The MIT License (MIT)

Copyright (c) 2015 Andrea Parodi

Something went wrong with that request. Please try again.