| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_42,SARE_MSGID_LONG40,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| MIME-Version: | 1.0 |
| Date: | Fri, 6 Mar 2009 02:09:08 -0500 |
| Message-ID: | <45444c270903052309t38a845f4g26d477efc026065d@mail.gmail.com> |
| Subject: | 1.5.25-Cygstart not showing visible window |
| From: | Jay Cross <hcross75 AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| 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 |
Hello,
It is my first time posting to this mailing list so I'd like to send
greetings to everyone. Hey!
First of all, I have RTFM'ed and googled and searched the mailing
list, etc. etc. all to no avail.
My Issue:
I'm having an problem with cygstart. When I run a program with it in
a bash shell on my cygwin machine everything is fine. When I'm
accessing cygwin through another machine (using SSH through Putty) the
program window never appears regardless of how I specify command args.
The program I specify is running in my Task Manager (Process
Explorer) but it has no visible window associated. I can hear sounds
it makes.. but no window appears.
Is this a feature or a bug - or something in between?
I've tried changing the ownership of cygrunsrv, bash, and sshd.
This behavior also occurs when I run the script below.
I'm trying to run programs/files on my TV computer at the command of
my laptop computer. It would be useful if they actually displayed on
TV computer.
I know I could use a VNC solution, but it's not really what I'm
looking for. Cygstart seems like it is designed to do something
similar to what I want, am I asking to much? Have I missed something?
Thanks in advance to anyone that can help.
Jay
Here's some info about my setup:
Windows XP SP2
CYGWIN 1.5.25
BASH 3.2
CYGSTART 1.4
OpenSSH_5.1p1
OpenSSL 0.9.8j 07 Jan 2009
a script I tried also to no avial:
#---- begin script ----
#!/bin/bash
# Dan Martin converted this to bash and fixed the chmod's.
#
# Thanks Randal R Schulz and Stefan Leppert for basic clues.
fn="$1"
# add execute permissions if there are none
isexe=1
[[ -x "$fn" ]] || { isexe=0 ; `chmod a+x "$fn"` ;}
win_fn="$(cygpath -w -a "$1")"
cmd /c "$win_fn" &
# We want to wait for the windows shell to execute the file before we
# turn off the exe bit.
sleep 1
# if isexe is 0, then we had to set the execute permissions, change back
((isexe)) || chmod a-x "$fn"
#---- end script ----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |