| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi there, any way to run a DOS command and getting its output in dolphin? I want to make a monitor of DDoS attacks and I need to parse the netstat too detailed output. You can imagine how much I want to use Dolphin for that instead of perl regexp and friends. thanks, Sebastian PS: using it on wine if linux or cygwin if windows |
|
#2
| |||
| |||
| "Sebastian" <ssastre@seaswork.com.ar> wrote... > Hi there, > > any way to run a DOS command and getting its output in dolphin? > I use Bob Jarvis's ExternalProcess goodie to run an external program under DOS and access its output. It is very powerful and flexible, so it may be overkill if you just want to get at stdout, but it is there and it works without problems. See Bob's Goodies at http://www.nls.net/mp/jarvis/bob/DolphinGoodies.htm > PS: using it on wine if linux or cygwin if windows Not sure about the implications of this. I just use it under Windows XP SP2. Hope this helps Peter Kenny |
|
#3
| |||
| |||
| Peter Kenny wrote: >> any way to run a DOS command and getting its output in dolphin? >> > I use Bob Jarvis's ExternalProcess goodie to run an external program under > DOS and access its output. It is very powerful and flexible, so it may be > overkill if you just want to get at stdout, but it is there and it works > without problems. See Bob's Goodies at > http://www.nls.net/mp/jarvis/bob/DolphinGoodies.htm My "US ExternakProcess Extension" might help here. It wraps Windows/CRT streams in a way that they are accessible as regular smalltalk streams. CU, Udo |
|
#4
| |||
| |||
| "Peter Kenny" wrote... > > I use Bob Jarvis's ExternalProcess goodie to run an external program under > DOS and access its output. I should just mention that my app is still runnung under Dolphin 5.1.4, and I see that Bob Jarvis's goodies page has not been updated since July 2004. I see no reason why it should not work under Dolphin 6, but it may not have been tested yet. Peter Kenny |
|
#5
| |||
| |||
| > My "US ExternakProcess Extension" might help here. It wraps Windows/CRT > streams in a way that they are accessible as regular smalltalk streams. > > CU, > > Udo Hi Udo and Peter, In windows works like a charm but ExternalProcess is unable to open the process with the command under wine. I've done it in squeak. Thanks for the pointers, Sebastian |
|
#6
| |||
| |||
| Sebastian, > In windows works like a charm but ExternalProcess is unable to open > the process with the command under wine. I've done it in squeak. Is this a non-Windows command you are trying to capture output from? I'm asking because if is possible to capture output from a Windows console app running in Wine. CU, Udo |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.