X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <507BE69D.3080804@alice.it> Date: Mon, 15 Oct 2012 12:34:05 +0200 From: Angelo Graziosi User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Cygwin Subject: Using nosleep with wrappers Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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