Comments (6)
Yeah, I thought this worked but appears to have regressed, the current code is here
from electron.
Currently the atom
command uses open
command to open the Atom in a new process and then quit immediately.
But application opened by open
would be detached from terminal and its output would not be printed, if we want to make atom
behave like other terminal editors correctly, we must execute Atom's binary directly instead of using the open
command, so the atom
command could keep running until the Atom application quits, just as if the --wait
is always passed, @kevinsawicki is this change acceptable?
from electron.
You can also use the -w flag to open to make it wait for the process to
quit.
On Tue, Aug 6, 2013 at 9:45 PM, Cheng Zhao [email protected] wrote:
Currently the atom command uses open command to open the Atom in a new
process and then quit immediately.But application opened by open would be detached from terminal and its
output would not be printed, if we want to make atom behave like other
editors correctly, we must execute Atom's binary directly instead of using
the open command, so the atom command could keep running until the Atom
application quits, just as if the --wait is always passed, @kevinsawickihttps://github.com/kevinsawickiis this change acceptable?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/49#issuecomment-22224685
.
from electron.
You can also use the -w flag to open to make it wait for the process to quit.
But the output of Atom would still not be printed.
from electron.
I feel like this issue is more of an atom thing than an atom shell thing.
atom.sh
could just change to parse command line flags and handle things like -h
, etc. before it launches the main app.
I think we just need to pull some code out of main.coffee
and do some of it up front before the app is opened.
from electron.
Yeah parsing command line in atom.sh
should be enough to fix this.
I duplicated this issue in atom: atom/atom#685, now I'm going to close this issue.
from electron.
Related Issues (20)
- [Bug]: recentDocuments not populating
- [Bug]: Crash when adding child view HOT 4
- Electron SIGSEGV Error When Running in Docker Container HOT 2
- [Bug]: HTML Drag and Drop API not returning event.dataTransfer.files array consistently on all Electron versions
- [Bug]: BrowserView's content is visually wiped when vibrancy is set on Electron version 30 and up
- [Bug]: node_modules/electron/dist/electron exited with signal SIGSEGV HOT 1
- [Bug]: Clicking on the color picker doesn't do anything HOT 4
- [Bug]: New Protocol.handle vs Protocol.registerFileProtocol does not fetch files properly.
- [Bug]: Crash base::subtle::RefCountedBase::ReleaseImpl() EXCEPTION_ACCESS_VIOLATION_READ HOT 1
- [Bug]: Capturing the screen is broken in the newer version (desktopCapturer) HOT 2
- gitHub.com/docker/repo
- [Feature Request]: add config.hideDock to BrowserWindow.setHiddenInMissionControl
- [Bug]: Calling session.defaultSession.webRequest.onHeadersReceived after ready and before window creation causes silent crash
- webContents.getPrintersAsync() not returning printer list on Linux Mint Cinnamon 19.1 HOT 3
- [Bug]: Frameless BrowserView.setAutoResize() is broken in v30.0.1
- [Infra]: Test check CI failed to execute because of npm package not found HOT 3
- [Bug]: <input type="file"> is not showing dialog on click HOT 7
- [Bug]: app.setLoginItemSettings({ openAtLogin: true }) doesnt work in APPX after publishing it.
- [Bug]: <input type=file> not working in WebContentsView HOT 1
- [Bug]: Occasional segfault when closing window on Linux
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron.