Tuesday, December 3, 2019

Re: job_start 7za underwindows returns process 0 fail

On Di, 03 Dez 2019, Ni Va wrote:

> 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"

this command uses &&, so it needs a shell to parse it.

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

job_start does not use a shell so it fails.

Best,
Christian
--
Was dem Herzen widerstrebt, läßt der Kopf nicht ein.
-- Arthur Schopenhauer

--
--
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/20191203105429.GH28132%40256bit.org.

No comments: