To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=84718
                 Issue #|84718
                 Summary|Problem with SystemShellExecute if a parameter awaits 
                        |input
               Component|api
                 Version|OOo 2.3.1
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|definition
             Assigned to|jsc
             Reported by|mroe





------- Additional comments from [EMAIL PROTECTED] Tue Dec 18 16:32:30 +0000 
2007 -------
Hello!

I want to run a program in shell mode.
But there occur always a error if the parameter needs more input separated by a
blank.

As example look at these command line:
thunderbird -compose mailto:[EMAIL PROTECTED]

This opens a Thunderbird Compose Window with To:-line [EMAIL PROTECTED]

'---------------------------------------------
Dim sProg As String
Dim sParam As String

sProg =
sParam =

Dim lFlags As Long
Dim oShellEx As Object
lFlags = com.sun.star.system.SystemShellExecuteFlags.DEFAULTS
oShellEx = CreateUNOService( "com.sun.star.system.SystemShellExecute" )
oShellEx.execute( sProg, sParam, lFlags )
'---------------------------------------------

With
sProg = "thunderbird"
sParam = ""
Thunderbird starts.

With
sProg = "thunderbird"
sParam = "-compose"
a Compose Window opens.

With
sProg = "thunderbird"
sParam = "-compose mailto:[EMAIL PROTECTED]"
Thunderbird starts, but no Compose Window.

Other programs returns with "invalid parameter" if there are blank separated
parameter extensions.


What's wrong?


BTW: If i start Thunderbird with the given code, OOo waits until Thunderbird is
closed ...


Please try it with my attached document.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to