https://bugs.documentfoundation.org/show_bug.cgi?id=160222

--- Comment #15 from Eric Champy <eric.cha...@neuf.fr> ---
Here are some additional explanations about my problem:

(1) I want to invoke a java program from Calc, so I have created a DOS batch
program that does the job (invoking that Java application, including path ) ...
c:\users\...\mybatch.bat  parm1 parm2 
(2) This batch program has several parameters that I pass thru the
RunApplication "Parameters" field

(3) Here are the various results I did:

------- initial URIS ------------------------- KO
'sCommand = SF_FileSystem._ConvertToUrl(Command)
'oShell.execute(sCommand, Parameters,
com.sun.star.system.SystemShellExecuteFlags.URIS_ONLY) 

See initial reporting - In any case an improvement is needed at least for error
reporting - See the first attachment 
Investigation direction: see how parameters are managed through a URI command  

------- Using DEFAULTS ----------------------- OK 
oShell.execute(Command, Parameters,
com.sun.star.system.SystemShellExecuteFlags.DEFAULTS)

------- RunApplication replaced by SHELL ----- OK 
SHELL(Command,2,Parameters,True)        

Conclusion: in any case using SHELL is the best option, because it seems that
the bsync option is mandatory in my case and I don't see such an option via
RunApplication..

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to