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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user