FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
livecode/engine/exec-tests/files/ExecOpenProcess.test at develop · livecodeali/livecode · GitHub
livecodeali
/
livecode
Public
forked from
livecode/livecode
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
livecode
/
engine
/
exec-tests
/
files
/
ExecOpenProcess.test
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (15 loc) · 447 Bytes
Breadcrumbs
livecode
/
engine
/
exec-tests
/
files
/
ExecOpenProcess.test
Copy path
File metadata and controls
27 lines (15 loc) · 447 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
setup
local tOutput
put shell("tasklist /V") into taskList
if taskList contains "cmd.exe" then
get shell("taskkill /IM notepad.exe")
end if
open process "cmd.exe" for text update
write "echo foo" & CR to process "cmd.exe"
read from process "cmd.exe" until "echo foo"
read from process "cmd.exe" for 1 line
read from process "cmd.exe" for 1 line
put char 1 to 3 of it into tOutput
test tOutput is "foo"
close process "cmd.exe"
teardown
Back
|
FazBrowse Home
|
New Git URL