Skip to main content
Module

x/denops_std/function/vim/mod.ts>job_info

📚 Standard module for denops.vim
Go to Latest
function job_info
import { job_info } from "https://deno.land/x/denops_std@v6.4.0/function/vim/mod.ts";

Returns a Dictionary with information about {job}: "status" what job_status() returns "channel" what job_getchannel() returns "cmd" List of command arguments used to start the job "process" process ID "tty_in" terminal input name, empty when none "tty_out" terminal output name, empty when none "exitval" only valid when "status" is "dead" "exit_cb" function to be called on exit "stoponexit" job-stoponexit

Only in Unix: "termsig" the signal which terminated the process (See job_stop() for the values) only valid when "status" is "dead"

Only in MS-Windows: "tty_type" Type of virtual console in use. Values are "winpty" or "conpty". See 'termwintype'.

Without any arguments, returns a List with all Job objects.

Can also be used as a method:

GetJob()->job_info()

Parameters

denops: Denops
optional
job: unknown

Returns

Promise<Record<string, unknown>>