delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/19/15:59:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM
X-Spam-Check-By: sourceware.org
From: "Luis Vital" <lvital DOT mail AT gmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Re: Terminal windows
Date: Wed, 19 May 2010 20:59:02 +0100
Message-ID: <233D25159BDB468988DA46C82C89F328@paikea>
MIME-Version: 1.0
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

Hi Reid,

Thanks for your answer. Nevertheless I don't have my problem solved yet.

If I make: $ cat ./launchit.sh
I obtain : cat: ./launchit.sh: No such file or directory

Besides it seems I am not using xterm.

If I make: $ nohup xterm -e $@ &
I obtain : nohup: ignoring input and appending output to `nohup.out'
           nohup: failed to run command `xterm': No such file or directory

Could it be passible that you explain a bit better? Thanks in advance.

Luis Vital

> On Wed, May 19, 2010 at 06:29:03PM +0100, Luis Vital wrote:
>> Hi,
>> 
>> I am running the text version of cygwin.
>> What I want to do is, while in a terminal window
>> launch a script wich opens another terminal window
>> and launches inside this one a program.
>> Thanks in advance for any help. Best regards,
>
> if not using xterm, replace it with your terminal of choice and adjust
parameters accordingly
> 
> $ cat ./launchit.sh 
> #!/bin/bash
> 
> nohup xterm -e $@ &


--
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