Pregunta

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?

¿Fue útil?

Solución

@astrounaut use like this in git-bash:

notifu //p "title" //m "message.."

Otros consejos

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
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top