Run program from batch file in background


















Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Is the docker daemon running?

Please use a personal access token instead. Can't bind to 'ngModel' since it isn't a known property of 'input'. The closest you'd get would maybe be the start command, which starts a new shell. Yes, that's correct. So it's not suitable for long-running remote background jobs. Superuser has the answer , paddy. Add a comment. Active Oldest Votes. Improve this answer. Oeste Oeste 2 2 gold badges 6 6 silver badges 13 13 bronze badges.

See this answer: stackoverflow. I would test it myself, but I'm not near a windows computer right now. Just as a confirmation: yes, the command WILL DIE if you log off if you connected on the windows machine from a telnet to run the command. On windows there are a number of options for what you are looking for: Best: write your program as a windows service. CreateObject "WScript. Shell" objShell. Worst: Start the command using the startup folder. This runs when a user logs into the computer Hope that helps some!

Community Bot 1 1 1 silver badge. Save the VB Script with the extension ". Josh Withee Josh Withee 7, 3 3 gold badges 31 31 silver badges 51 51 bronze badges. Linq; using System. The file basically launches processes. The output of the. Pressing the Enter key after a few minutes returns the control back to the prompt.

I don't like this because this process needs to be launched through a Perl script and I don't know how one would automate the Enter key press through Perl. However, the next time I execute tasklist , the. This brings me back to square one. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Running a bat file in background Ask Question. Asked 4 years, 3 months ago. Asked 3 years, 11 months ago.

Active 3 years, 11 months ago. Viewed 16k times. Can anyone suggest either what's going wrong, or even better; a nice simple way for me to get the batch file to run ion start up I cannot use a GUI as I have to roll this out to several computers remotely Thanks. Improve this question. There's no Windows — phuclv. Possible duplicate of Execute Batch File without Command line visible — phuclv.

Add a comment. Active Oldest Votes. Shell" WshShell. Improve this answer. Adam Adam 1 1 silver badge 5 5 bronze badges. Hi Adam, thanks but I've tried this; the problem is that it will run the batch file in the foreground. You could run your batch file from a VBscript in invisible mode and place the vbscript in the start up programs directory.



0コメント

  • 1000 / 1000