delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/15/06:34:33

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 <angelo DOT graziosi AT alice DOT it>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Using nosleep with wrappers
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019