startSynchronousProcess/startDetachedProcess don't work correctly on MacOS
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by reading the attached script and locating the implementations of startSynchronousProcess and startDetachedProcess. Reproduce the custom action on macOS and check how the executable and arguments are passed; done means the program runs once with all arguments intact.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I'm trying to register and run a custom action on MacOS. The script registers ok and QON says that the script is valid.
Expected behaviour
Expect QON to run the script and run startSynchronousProcess/startDetachedProcess correctly and the program with arguments is run e.g. "/usr/bin/local/git commit -m "My message" file_name.
Actual behaviour
A terminal window opens and the executable name is the only command that is passed to the terminal. I see "/usr/local/bin/git ; exit;". A second terminal window opens with the file name being executed as a command. The rest of the arguments are lost.
Steps to reproduce
Please see attached script.
Output from the debug section in the settings dialog
Expand
Relevant log output in the Log panel
[11:07:51] [status] The scripting engine was reloaded
[11:07:56] [scripting] customActionInvoked - gitCommit
[11:07:56] [scripting] /usr/local/bin/git
[11:08:00] [scripting] My message
[11:08:00] [scripting] /usr/local/bin/git commit -m "My message" /Volumes/EncNotes/notes/test.txt
[11:08:00] [scripting]
[11:08:00] [scripting] customActionInvoked - gitCommit
Expand
- Lingua principale
- C++
- Stelle
- 5.9k
- Fork
- 499
- Merge medio
- 4h 4m
- PR unite (30g)
- 3
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pbek/QOwnNotes
-
Type: Upstream-problem
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Type: Support
Difficoltà 5/5 Più di una settimana Idoneità per principianti 42/100
-
Effort: Very high Type: Feature Type: Upstream-problem
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Type: Feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Severity: Low Type: Upstream-problem
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
Tutte le issue di pbek/QOwnNotes
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
harfbuzz/harfbuzz#6966 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
sirius-db/sirius#2807 · 2 reazioni ·
I maintainer di solito rispondono entro 2 giorni
-
CS 1.9.1 and probably 2.0.0 convert black triangles to white at runtime, regarless of PBR configs.Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
community-shaders/skyrim-community-shaders#3325 ·
I maintainer di solito rispondono entro 1 giorno
-
triage:to-check
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno