Tuesday, December 3, 2019

job_start 7za underwindows returns process 0 fail

Hi,

Considering this command :
cd /d D:/Softs/Vim/vim81 && D:/Softs/Vim/vim81/7za.exe a "C:/Users/foo.bar/desktop/archive Name.7z" "d:/Work/Foo/Bar/archive Path Name"


call system(command) is a success with "archiv Name.7z" present.
job_start(command) returns process 0 fail


Executables are running under windows 10
gvim 8.1.2383 in 32bits
7za.exe in 32bits version with 7za.dll associated



I have tried to put a MyHandler callback on my job_start without any result.

  fun! MyHandler(channel, msg) "{{{
  echomsg string(a:msg)
  endfunction "}}}
  let options = {
\ "callback": "MyHandler",
        \ 'timeout': 30000
        \}
  let jobid = job_start(cmd, options) | echomsg jobid



How can I fix that ?
Thank you
NiVa

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/c40ce1d6-1794-4184-9e58-5ecbc2d16c1a%40googlegroups.com.

No comments:

Post a Comment