在 Frink 中,可以使用 system[]
函数来执行 cmd 命令。
commandLine := "dir"
system[commandLine]
这个示例使用了 system[]
函数,并传入要执行的命令字符串 "dir"
。system[]
函数用于在操作系统中运行 shell 命令,并返回命令的输出结果。
在 Frink 中,可以使用 system[]
函数来执行 cmd 命令。
commandLine := "dir"
system[commandLine]
这个示例使用了 system[]
函数,并传入要执行的命令字符串 "dir"
。system[]
函数用于在操作系统中运行 shell 命令,并返回命令的输出结果。