in reply to Re^2: Executing script from Vim, annoying...
in thread Executing script from Vim, annoying...

Running :ConqueTerm perl -de 42 works for me. Moreover, :ConqueTerm perl -E'say "test"' doesn't work, but :ConqueTerm perl -E'say 1; sleep 1; say 2' works.

What's more interesting, running :ConqueTerm perl ~/current/bothunter.pl leaves buffer silent, but :ConqueTerm sh -c 'perl ~/current/bothunter.pl' works. (bothunter.pl is a script which runs for about a minute while scanning one forum for spam robots)

Sorry if my advice was wrong.

Replies are listed 'Best First'.
Re^4: Executing script from Vim, annoying...
by mascip (Pilgrim) on Jul 20, 2012 at 14:35 UTC

    Strange...but it does the job and that's all i ask.

    I had to use the same trick :

    :ConqueTerm CMD /c "perl -Ilib /my/scirpt.pl"
    I'll tweak it a bit more tonight or tomorrow, to try and integrate it in my Vim framework. Exciting !! =D

    PS : i've been playing a bit more, i don't understand its behavior. The screen flashes black and white somtimes, there's often a bug from Vim, and sometimes it behaves as expected.