RE: The Opposit of this question:
"Robinson, Joe" <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.fourjs.user |
|---|---|
| Message-ID | <[email protected]> |
In Genero you can use the base.Channel class. It allows you to execute a
process and interact with its STDIN and STDOUT.
define ch base.Channel
let ch = base.Channel.create()
let sb = base.StringBuffer.create()
call ch.openPipe("./b64 -e ./test.txt","r");
while (ch.read([msg]))
call sb.append(msg)
call sb.append("\n")
end while
display sb.toString();
call ch.close()
Joe Robinson
Software Engineer
Tyler Technologies, Inc., MUNIS Division
370 US Route One
Falmouth, Maine 04105
Phone: 800-772-2260 extension 4657
Fax: 207-781-6005
Email: [email protected]
Web: www.tyler-munis.com
________________________________
From: [email protected] [mailto:[email protected]] On
Behalf Of Georg Schlykow
Sent: Thursday, July 14, 2005 8:30 AM
To: [email protected]
Subject: [fourjs-users] The Opposit of this question:
HI,
"Does anyone know how to start a windows program from 4js ?"
I think, this is clear, but what can i do it the other way ?
That means: A Button on Windows Desktop should start a background
programm
(without any screens) on the Linux-Server.
The only way to do this i can imagine is: Create a 'pseudo-User' on
linux and
in his .profile: ...
run fglgo thomething WITHOUT waiting # in background
exit
But perhaps there is a better way to do this ?
thankyou
Georg