Skip to content

Unable to use LatexmkStop to terminate latexmk #236

@dnivra

Description

@dnivra

I'm running vim-gtk 7.4.52 on Ubuntu 14.04.1 with zsh as shell. When I run :LatexmkStop, the latexmk process does not get killed. I check the PIDs for latexmk using g:latexmk_running_pids and ps from the shell and was surprised to find they differ(always by 2 everytime I checked):

:echo(g:latexmk_running_pids)
{'/path/to/main': 7826}

$ ps -ao pid,cmd | grep latexmk | cut -d ' ' -f 1
7828

I checked the value of argument passed to function LatexmkSetPID and it says 7826 so I suppose the wrong argument is passed to it. Unfortunately, I could figure out where or how LatexmkSetPID is invoked(I am not familiar with vimscript) and thus couldn't debug further. If I can provide any more information to fix this issue, please do let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions