|
Show result of shell command in
a new window
[Back]
Eg. using the cleartool command:
type = MADS_CP_55.15
cmd = "/usr/atria/bin/cleartool find -avobs -version 'lbtype(" type ")' -print"
answer = shell_command(cmd, "")
if (length(answer) == 0)
{
dialog("No match to the query\n\n" cmd "\n\n", "OK")
}
else
{
# Put the result into a new NEdit window
new()
focus_window("last")
insert_string(answer)
}
[Back]
Released on Wed, 21 Nov 2001
by
C. Denat
|
|