Fixed typo in the result.
Thanks,
Gary
On Tue, Jan 18, 2011 at 11:06 AM, Gary Guo <javag...@gmail.com> wrote:
> Hi,
>
> I have a question about PROCESS SERVICE - START and STOP on Windows 2008.
>
> 1. Started the following START command on Windows via PROCESS Service.
>
> START SHELL ASYNC RETURNSTDOUT RETURNSTDERR COMMAND ping 192.168.1.1 -n
> 1000000 STDOUT c:\windows\temp\stdout.win STDERR c:\windows\temp\stderr.win
> SAMECONSOLE
>
> 2. Tried to STOP the above command via handle# before 1000000 times reach
>
> STOP HANDLE <handle#> USING SIGINT
>
> But, I didn't get the expected result.
>
> ######## Start of the result #######
> Pinging 192.168.1.1 with 32 bytes of data:
> Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
> Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
> Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
> Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
> Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
> Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
> ######## End of the result #######
>
> There is the following part missing.
>
> --- 192.168.1.1 ping statistics ---
> 6 packets transmitted, 6 received, 0% packet loss, time 32ms
> rtt min/avg/max/mdev = 0.237/0.269/0.311/0.029 ms
>
> [My question?]
> 1. Even though I defined SAMECONSOLE in START-ed PROCESS, it seems it
> doesn't work using SIGINT (Ctrl-C)
> 2. How can I STOP Async process START-ed using SIGINT Ctrl-C?
>
> Thanks,
> Gary
>
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users