1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Image: Call 'cmd /c start' correctly by forcibly including quotes

This commit is contained in:
gnosygnu
2016-11-14 15:48:27 -05:00
parent bca989898e
commit 21102d846f
2 changed files with 9 additions and 4 deletions

View File

@@ -60,6 +60,7 @@ class Xog_url_wkr__file {
gplx.core.ios.IoItmFil fil = Io_mgr.Instance.QueryFil(file_url);
if (fil.Exists()) {
gplx.core.envs.Process_adp media_player = app.Prog_mgr().App_by_ext(file_url.Ext());
media_player.Args__include_quotes_(true); // NOTE:Windows "cmd /c start" requies first quoted argument to be title; note that url must be 2nd arg and quoted; DATE:2016-11-14
media_player.Run(file_url);
fsdb.File_size_(fil.Size());