Comments (2)
This situation happened to me many times when I starting using Elvish. I had to add a randomized "sleep" command to my Elvish program that started Elvish on my Tmux sessions to minimize being affected by this race to start the Elvish daemon. This scenario is one of the reasons I am working on replacing the existing BoltDB history mechanism with a simple flat-file store. A flat-file history store has its own race conditions but does not include a race involving launching a new process. It is therefore easier to reason about and avoid races as described in the above problem statement.
from elvish.
To clarify my previous comment... I (re)wrote an Elvish program that initialized multiple Tmux sessions in parallel. The program was originally written as a POSIX script but that isn't really relevant. What is relevant is that both programs launched multiple interactive Elvish programs on the same system more or less simultaneously. Which caused those interactive Elvish shells to race creating the interactive daemon.
from elvish.
Related Issues (20)
- RSS support for the blog
- Support semantic prompts (OSC 133) HOT 1
- Directory Elvish is launched from doesn't seem to be added to location history HOT 10
- Docs for embedding Elvish? HOT 6
- RISC-V binaries HOT 5
- "Command not found" error when running a batch script with space in path with an argument with space HOT 16
- API to change the in-command colours? HOT 3
- Cursor and prompt control in function to avoid prompt flick HOT 10
- document and change behavior of `doc:find` with no arguments
- Indexing into a list of maps HOT 2
- listbox_window: integer divide by zero HOT 6
- Add `&key` option to `compact`.
- Are there any good examples for custom completion script? HOT 2
- Add helpful message for arity mismatch on function call
- Minibuffer namespace
- COMPLETING argument menu shown even when only one completion on paths that start ~/ HOT 5
- Mixed slashes on Windows HOT 4
- Scoping of the right hand side of a var assignment HOT 2
- Missing documentation: fd and name keys for file objects HOT 1
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 elvish.