Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: cygwin opensshd: how to detach remotely with fork/exec?

by Boldra (Deacon)
on Dec 17, 2012 at 09:11 UTC ( #1009133=note: print w/ replies, xml ) Need Help??


in reply to Re: cygwin opensshd: how to detach remotely with fork/exec?
in thread cygwin opensshd: how to detach remotely with fork/exec?

Many thanks for your ideas Zentara.

Do you know if there is a difference between the way you are redirecting the standard filehandles and the way I do it in my example with close? I've tried both now, and neither seems to solve the detach problem with the cygwin sshd. nohup also doesn't seem to have any meaning to cygwin - but I'm not forcing the connection closed. Maybe I can do that with an alarm?

At the moment I'm working with psexec again. I'm repeatedly sending simple psexec commands until one works, and then doing the important command. This seems reasonably reliable, if slow.



- Boldra


Comment on Re^2: cygwin opensshd: how to detach remotely with fork/exec?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009133]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2014-09-24 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (244 votes), past polls