Using nosleep with wrappers

Angelo Graziosi angelo.graziosi@alice.it
Mon Oct 15 10:34:00 GMT 2012


In my .bashrc I have something like this:

xf()
{
     LANG=''\
     /usr/bin/xfig -specialtext -latexfonts -startlatexFont default \
         "$@" 2>/dev/null
}

but, trying

$ nosleep xf
nosleep: Error: failed to execute command: xf

The same occurs for

picasa()
{
     TEMP=/home/$USER/Temp TMP=/home/$USER/Temp \
     cyg-wrapper.sh "/WinXP/Programmi/Google/Picasa3/Picasa3.exe" \
         "$@" 2>/dev/null
}


Is there some tricks to have nosleep working with wrappers like the above?

TIA,
  Angelo.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list