Hi.

echo job_start(...) doesn't show process id on windows.

diff --git a/src/eval.c b/src/eval.c
index 33f95ef..f5fb5f8 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -21606,6 +21606,10 @@ get_tv_string_buf_chk(typval_T *varp, char_u *buf)
 # ifdef UNIX
                vim_snprintf((char *)buf, NUMBUFLEN,
                            "process %ld %s", (long)job->jv_pid, status);
+# elif defined(WIN32)
+               vim_snprintf((char *)buf, NUMBUFLEN,
+                           "process %ld %s", (long)job->jf_pi.dwProcessId,
+                           status);
 # else
                /* TODO */
                vim_snprintf((char *)buf, NUMBUFLEN, "process ? %s", status);

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui