Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8806979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:15:43+00:00 2026-06-14T02:15:43+00:00

i want to automatize a process to php apps. So I’m using this plugin

  • 0

i want to automatize a process to php apps. So I’m using this plugin that after starting the debugging process (F5) it shows this message in the command line:

waiting for a new connection on port 9000 for 5 seconds…

So, inmediately after that throwing that message I would like to call a bash script that is in my home folder. So I create a key biding like this:

map gm <F5> :!sh ~/refresh_browser.sh<enter>

My problem: because of the message waiting ... is not possible to write commands in the command line.

So, is there any way to clear the command line to remove the waiting.. message before executing the bash script? if not, what is your advice?

EDIT: after the answer of Ingo Karkat finally I created a key binding like this:

map gm :! ~/my_script.sh &<enter><F5>  

and this script:

#!/bin/sh
xdotool windowfocus `xdotool search --name "Mozilla Firefox" | head -1`
sleep 2
xdotool key F5
xdotool windowactivate `xdotool search --name "GVIM" | head -1`
xdotool key F4 #to go to the breakpoint
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T02:15:44+00:00Added an answer on June 14, 2026 at 2:15 am

    The waiting... message and the fact that you cannot issue additional commands means that Vim is still blocked; probably, that plugin is executing an external command or is polling for something. As Vim is inherently single-threaded, there’s nothing you can do there. (Well, except for moving from Vimscript to Perl, Python, Ruby, etc., that allow parallel processing.)

    The Bash script that you intend to launch, on the other hand, is able to launch additional processes in the background (with & appended), so I would suggest you reverse your intended calling sequence and invoke the script before the plugin.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to Automate the build process of my company. We are Using.Net platform
I want to move to a new server and automate the process of moving
I want to start automating more of my web development process so I'm looking
Is it possible to disable the OData support? I dont want this automatism because
When using Microsoft office automation I want to insert images into a spreadsheet. How
I want to be able to automate this so I can go to one
I want to add events to my outlook calendar from the php code. As
I want to automate the process of creating a forum category with the phpBB
I want to automatize the installation of some software on a new host for
I want to automate the process of plone3_buildout. Explanation: The default(the one I use)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.