raycast / raycast/extensions

[Quit Applications] ... Quit app crashes

Open
#26,580 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug extension extension: quit-applications
Dominant language
TypeScript
Stars
7.8k
Forks
6.9k
Avg merge
2d 6h
Merged PRs (30d)
442

Description

Extension

https://www.raycast.com/mackopes/quit-applications

Raycast Version

1.104.10

OS Version

No response

Description
Error:
Error: Command failed with exit code 1: osascript
185:195: execution error: Can’t get POSIX path of missing value. (-1728)

l0:run-applescript.js:38:21

---
35:         timedOut,
36:         command: "osascript",
37:         options,
38:         parentError: new Error(),
39:     });
40: }
41: exports.runAppleScript = runAppleScript;
---

async o0:index.js:29:2509
Steps To Reproduce

Quit app crashes

Current Behaviour

No response

Expected Behaviour

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash in the Quit Applications extension from the linked extension page, then inspect the failing call in index.js:29:2509 and the AppleScript runner at l0:run-applescript.js:38:21. Determine which missing value causes osascript to fail, and verify that quitting applications no longer crashes when the same condition occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.