1

I used to call this command to popup a simple balloon message when gradle build is complete. It had worked fine on cygwin's bash.

notifu /p "Gradle build complete" /m "Now you can take a look at the results" /d 0 > /dev/null

However, after switching to git's bash, the windows-style command line options such as /p /m have become resolved as cygwin drive letters: p:/ m:/. Obviously, notifu couldn't accept them.

enter image description here

Could anybody please tell me why it had been perfectly working on cygwin's bash, but not on git-bash now?

astronaut
  • 550
  • 1
  • 5
  • 17

2 Answers2

2

@astrounaut use like this in git-bash:

notifu //p "title" //m "message.."
branquito
  • 3,276
  • 4
  • 28
  • 54
0

I used previously (in here) or seen (in that answer) the escape character '^' for Cygwin msys bash.

Try a ^ in front of the /, in order to convince Cygwin that /p isn't a drive path:

notifu ^/p "Gradle build complete" ^/m "Now you can take a look at the results" ^/d 0 > /dev/null
Community
  • 1
  • 1
VonC
  • 1,042,979
  • 435
  • 3,649
  • 4,283