|
From: Ramachandra, A. <Ram...@Sy...> - 2003-10-31 13:34:18
|
Leif
i did this:
wrapper.ntservice.interactive=true
wrapper.ntservice.hide-console=false
in wrapper.conf.
I did not see notepad come up.I did see an entry for notepad.exe in the task
manager.
So it launches but i cannot see the notepad window.
-Thanks
-Arun
-----Original Message-----
From: Leif Mortenson [mailto:le...@ta...]
Sent: Wednesday, October 22, 2003 7:08 PM
To: wra...@li...
Subject: Re: [Wrapper-user] console apps and the wrapper
Arun,
I have not tried that exact thing before. The notepad process is
considered a child
process of the JVM, and thus of the Wrapper. In order for the Wrapper
or any of its
child processes to be able to display a GUI the service needs to have
its interactive flag
set.
Have you tried setting the wrapper.ntservice.interactive flag? Make
sure you read the
docs for this property as there are some tricks to get it to work with
certain JVM
versions.
http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-interactive.htm
l
Please report back with the results? I am interested to hear if
that works. If not
what happens if you try to launch the Notepad process directly, rather
than via a batch
file?
Cheers,
Leif
Ramachandra, Arun wrote:
> OK this is a tricky one i guess:
> I have an app one of whose functions is to open up a batchfile which
> opens up a notepad editor. I use the wrapper to run this as a service.
> When run as a console app it works fine. HOwever when i invoke this
> functionality with the wrapper i can see the notepad.exe as a process
> but don't see any notepad window open up.
>
> 1:> How can i get around this?
> 2:>Can i get around this at all?
>
> To generalise, if i invoke a console app which requires interaction
> with the user how do i invoke it when my app is a service?
>
> -Thanks
> -Arun
>
-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|