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

(command &) from .zshrc not executed until shell closed #2223

Open
rogier-stegeman opened this issue Jan 19, 2024 · 0 comments
Open

(command &) from .zshrc not executed until shell closed #2223

rogier-stegeman opened this issue Jan 19, 2024 · 0 comments

Comments

@rogier-stegeman
Copy link

Describe the bug

My .zshrc contains lines that call python scripts:

function f() {
  (command python /path/to/app.py > dev/null 2>&1 &)
}

(The bug also happens with something simple like (command notify-send foo &))

These run perfectly fine in Konsole and Kitty. But from Guake shells they are not executed until the shell is closed, or I open another tab. The rest of the .zshrc executes fine.

For example:

Every time a shell is opened, or a condition is met, command X should run. Instead:

  1. Open fresh Guake
  2. (X should run on start or when condition is met, but doesn't)
  3. Open new tab in Guake
  4. X runs
  5. Close tab
  6. Close last tab
  7. X runs (too late)

Expected behavior

As soon as my lines are reached in .zshrc, or when they are trigged, for them to be executed.

Actual behavior

command not being executed until the shell is closed.

To Reproduce

Add (command notify-send foo &) to .zshrc

$ guake --support

Guake Version: 3.10

Vte Version: 0.74.0

Vte Runtime Version: 0.74.0


GTK+ Version: 3.24.38

GDK Backend: <GdkX11.X11Display


Desktop Session: ubuntu


Display: :1

RGBA visual: True

Composited: True

  • Monitor: 0 - HPN DP-0
    • Geometry: 1920 x 1080 at 3000, 386
    • Size: 527 x 296 mm²
    • Primary: True
    • Refresh rate: 60.0 Hz
    • Subpixel layout: unknown
  • Monitor: 1 - HPN DP-2
    • Geometry: 1920 x 1080 at 1080, 386
    • Size: 527 x 296 mm²
    • Primary: False
    • Refresh rate: 60.0 Hz
    • Subpixel layout: unknown
  • Monitor: 2 - HPN DP-4
    • Geometry: 1080 x 1920 at 0, 0
    • Size: 509 x 286 mm²
    • Primary: False
    • Refresh rate: 60.0 Hz
    • Subpixel layout: unknown
  • Monitor: 3 - HPN HDMI-0
    • Geometry: 1920 x 1080 at 4920, 386
    • Size: 527 x 296 mm²
    • Primary: False
    • Refresh rate: 60.0 Hz
    • Subpixel layout: unknown
@rogier-stegeman rogier-stegeman changed the title (command &) no executed until shell closed (command &) not executed until shell closed Jan 19, 2024
@rogier-stegeman rogier-stegeman changed the title (command &) not executed until shell closed (command &) from .zshrc not executed until shell closed Jan 19, 2024
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

1 participant