startSynchronousProcess/startDetachedProcess don't work correctly on MacOS
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C++
- Star
- 5.9k
- Fork
- 499
- Merge trung bình
- 4 giờ 4 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pbek/QOwnNotes
-
Type: Upstream-problem
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Type: Support
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 42/100
-
Effort: Very high Type: Feature Type: Upstream-problem
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
Type: Feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
Severity: Low Type: Upstream-problem
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
Tất cả issue của pbek/QOwnNotes
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
harfbuzz/harfbuzz#6966 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
sirius-db/sirius#2807 · 2 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
CS 1.9.1 and probably 2.0.0 convert black triangles to white at runtime, regarless of PBR configs.Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
community-shaders/skyrim-community-shaders#3325 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage:to-check
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày