Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

notify-send fails when run via /bin/sh -c #3

Description

@kevinsperrine

I'm trying to get notify-send-http working with gulp-notify on my vagrant box to notify the server on the host; however, gulp-notify fails because the notify-send command fails when run via /bin/sh -c. It always throws the 'Invalid number of options error'. I can't find any way to modify the parameters sent to the notify-send command via gulp-notify, so it doesn't look like this is possible until the binary handles being called in this way.

[19:51:44] gulp-notify: [Gulp Error] An error occurred.
[19:51:44] gulp-notify: [Error running notifier] Could not send message: Command failed: /bin/sh -c notify-send "Gulp Error" "An error occurred." --icon "/home/vagrant/Projects/website-com/wp/wp-content/themes/website-theme/node_modules/gulp-notify/assets/gulp-error.png" --category ""

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions