I have an app which needs to launch a background daemon.
I was using
dim f as folderitem
f=getfolderitem("").child("mldk").child("mlnet")
f.launch
but this always launched the daemon as a root process, so it was
dumping all it's support files in the root directory rather than in
it's own
Also, on Windows the launch always terminated before completion.
So then I tried
dim f as folderitem
f=getfolderitem("").child("mldk")
path=replaceAll(f,":","/")
mShell1.execute "sh"
mShell1.write "cd " + path +chr(13)
mShell1.write "./mlnet" + chr(13)
This works fine on my laptop, but on 10.2.1 the daemon won't launch,
and of course on Windows it doesn't do squat... (even if I replaceAll
":" with "\")
I'm still running RB 5.2.4
is this a 10.2.1 problem, or a shell issue... and why won'd Windows do
the right thing?...
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|