有没有办法在 adobe air 中与 cmd(使用本机进程)进行通信。举个例子; 如何将“ping www.google.com”发送到 cmd 并在 Air 中捕获返回值。
编辑
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Program Files\Adobe\Adobe Flash Builder 4.5>ping www.google.com
Pinging www.l.google.com [209.85.175.103] with 32 bytes of data:
Reply from 209.85.175.103: bytes=32 time=1733ms TTL=50
Reply from 209.85.175.103: bytes=32 time=189ms TTL=50
Reply from 209.85.175.103: bytes=32 time=188ms TTL=50
Reply from 209.85.175.103: bytes=32 time=186ms TTL=50
Ping statistics for 209.85.175.103:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 186ms, Maximum = 1733ms, Average = 574ms
C:\Program Files\Adobe\Adobe Flash Builder 4.5>
我可以从 Air 应用程序在上面打印。我需要知道是否有一种特定的方法来获取最小值 = ?、最大值 = 的值?和平均值 = ? 计划炸开绳子。有没有别的办法。请帮我
提前致谢。