I want to know if a linux process is already runnning, eg, I could use
ps -e |grep soffice
However under wine, the output can not be read (mentioned in my last email), is
there any other alternatives?
regards,
test for running process
Re: test for running process
Since win32api does not have anything like that you can't do that in Wine. Unless you create winelib app - then you do the standard POSIX stuff, which is outside the scope of Wine.bill lam wrote:I want to know if a linux process is already runnning, eg, I could use
ps -e |grep soffice
However under wine, the output can not be read (mentioned in my last email), is
there any other alternatives?
regards,
test for running process
bill lam wrote:
Wine or the actual Wine programs?
I use:
ps -aux | grep wineserver
to find wineserver application information
and
ps -aux | grep wine
to find running instances of programs
This should work under both Linux and Mac.
James
What exactly are you attempting to do? Look for a program running underI want to know if a linux process is already runnning, eg, I could use
ps -e |grep soffice
However under wine, the output can not be read (mentioned in my last
email), is there any other alternatives?
Wine or the actual Wine programs?
I use:
ps -aux | grep wineserver
to find wineserver application information
and
ps -aux | grep wine
to find running instances of programs
This should work under both Linux and Mac.
James
test for running process
James McKenzie wrote:
running. If that program were run under linux, I could run a shell script and
read the stdout. But it seems not possible under wine.
regards,
When running program inside wine, I want to test if *Linux soffice* is alreadybill lam wrote:What exactly are you attempting to do? Look for a program running underI want to know if a linux process is already runnning, eg, I could use
ps -e |grep soffice
However under wine, the output can not be read (mentioned in my last
email), is there any other alternatives?
Wine or the actual Wine programs?
running. If that program were run under linux, I could run a shell script and
read the stdout. But it seems not possible under wine.
regards,
test for running process
bill lam wrote:
nor do I *think* this should be possible.
James
Correct. I don't think you can invoke a linux shell from within Wine,James McKenzie wrote:When running program inside wine, I want to test if *Linux soffice* isbill lam wrote:What exactly are you attempting to do? Look for a program runningI want to know if a linux process is already runnning, eg, I could use
ps -e |grep soffice
However under wine, the output can not be read (mentioned in my last
email), is there any other alternatives?
under Wine or the actual Wine programs?
already running. If that program were run under linux, I could run a
shell script and read the stdout. But it seems not possible under wine.
nor do I *think* this should be possible.
James
test for running process
James McKenzie wrote:
that I cannot get the result back in stdout.
regards,
I invoke linux version of soffice and python from within wine everyday. OnlyCorrect. I don't think you can invoke a linux shell from within Wine,
nor do I *think* this should be possible.
that I cannot get the result back in stdout.
regards,