Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Regular expressions

by NetWallah (Canon)
on Apr 10, 2015 at 18:19 UTC ( [id://1123060]=note: print w/replies, xml ) Need Help??


in reply to Regular expressions

You are making the assumption that all the output you see when you run "ipsec restart" from a console comes from a single process.

My (very limited) understanding of strongSwan is that it uses a "starter" process which forks out a thread to do the actual work.

I think you are capturing the output of the "starter" process, and missing the actual ipsec messages.

You can confirm my theory by examining the console messages after running your program - if you see the "Starting strongSwan" on the cosole, it means that your code did not capture it.

        "You're only given one little spark of madness. You mustn't lose it."         - Robin Williams

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-20 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found