Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

killall <app> crashes Bunch #320

Open
jgclark opened this issue Feb 3, 2024 · 1 comment
Open

killall <app> crashes Bunch #320

jgclark opened this issue Feb 3, 2024 · 1 comment

Comments

@jgclark
Copy link

jgclark commented Feb 3, 2024

I've been using some more advanced features and have added $ killall Dropbox into a Bunch. However it reliably crashes Bunch.

(do not disturb on)
(audio input volume 0)
(audio output volume 100)

# Quit running apps
!Evernote
!Flux
!Setapp              # doesn't work
!BusyCal
!Calendar
!TextEdit
!BusyContacts
!CleanShot           # doesn't work
!Visual Studio Code  # doesn't work
!Spotify

## Quit the bandwidth heavy apps (shell scripts)
$ killall Dropbox # crashes the bunch app

## Hide all open windows
@@

# Open apps, and close at the end
NDI Scan Converter

## Open apps to leave running afterwards
%Keynote
%System Preferences

# Open URLs
safari:https://youtube.com/c/ChristChurchChineham

# Focus app to use
@Keynote

# When I close the bunch, start scripts and apps ...
!!Dropbox
!!Flux
!!CleanShot

!!(do not disturb off)
!!(audio input MacBook)
!!(audio output MacBook)
!!(audio input volume 80)
!!(audio output volume 60)

This is log output with $ killall Dropbox line:

2024-02-03 22:48:44: ⚪Launched ==========================================
2024-02-03 22:50:27: ⚪[presenting] Open >>>>>>>>>>>>>>>>>>>>>
2024-02-03 22:50:33: ⚪[presenting] Processing command "do not disturb on"
2024-02-03 22:50:33: ⚪[presenting] Turning Do Not Disturb on
2024-02-03 22:50:33: ⚪[presenting] Processing command "audio input volume 0"
2024-02-03 22:50:33: ⚪[presenting] Set volume for input device to 0.000000
2024-02-03 22:50:33: ⚪[presenting] Processing command "audio output volume 100"
2024-02-03 22:50:33: ⚪[presenting] Set volume for output device to 1.000000
2024-02-03 22:50:33: ⚪[presenting] Quitting app (Flux)
2024-02-03 22:50:33: ⚪[presenting] Quitting app (Setapp)
2024-02-03 22:50:33: ⚪[presenting] Quitting app (Spotify)
2024-02-03 22:50:33: ⚪[presenting] Running Shell Script (killall Dropbox)

Incidentally, Dropbox doesn't stop. (Though if I try the same command at the terminal it does quit Dropbox.)
But Bunch disappears from the top bar, and when I restart it, this bunch isn't marked as being live.

Here it is with that line commented out:

2024-02-03 22:50:51: ⚪Launched ==========================================
2024-02-03 22:51:38: ⚪[presenting] Open >>>>>>>>>>>>>>>>>>>>>
2024-02-03 22:51:42: ⚪[presenting] Hiding all apps
2024-02-03 22:51:42: ⚪[presenting] Launching app (NDI Scan Converter) async
2024-02-03 22:51:42: ⚪[presenting] Launching app (Keynote) async
2024-02-03 22:51:42: ⚪[presenting] Launching app (System Preferences) async
2024-02-03 22:51:42: ⚪[presenting] Opening URL (safari:https://youtube.com/c/ChristChurchChineham)
2024-02-03 22:51:42: ⚪[presenting] Focusing app (Keynote)
2024-02-03 22:51:42: ⚪[presenting] Processing command "audio output volume 100"
2024-02-03 22:51:42: ⚪[presenting] Set volume for output device to 1.000000
2024-02-03 22:51:42: ⚪[presenting] Processing command "audio input volume 0"
2024-02-03 22:51:42: ⚪[presenting] Processing command "do not disturb on"
2024-02-03 22:51:42: ⚪[presenting] Set volume for input device to 0.000000
2024-02-03 22:51:42: ⚪[presenting] Turning Do Not Disturb on
2024-02-03 22:51:43: ⚪[presenting] Quitting app (Setapp)
2024-02-03 22:51:43: ⚪[presenting] Quitting app (TextEdit)

Bunch v1.4.17 on macOS 13.6.4.

@ttscoff
Copy link
Owner

ttscoff commented Jun 23, 2024

Is this still happening? I'm unable to replicate on the current version (build 180).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants