t413 / zsh-background-notify

cross-platform background notifications for long running commands!
93 stars 14 forks source link

Add Support for Windows WSL #26

Open lacostenycoder opened 1 year ago

lacostenycoder commented 1 year ago

Running Windows 10 with WSL2 on Ubuntu 20.04.5 LTS

Expected behavior: Should be able to work in Ubuntu on WSL. I tested by copying the binary notifu64.exe to /usr/local/bin/notifu, I can use notifu from Ubunutu terminal.

This makes the windows exe file just work. So, what am I missing? I tried running this but no notification was fired. I thought it was supposed to auto-fire if process took > 5 seconds.

ruby -e 'sleep 6; puts "hello"' 

Ruby executes as expected, but no notification is generated.

However this works fine.

bgnotify 'foobar' 'this is some stuff'

See screenshot Screenshot (1)