Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Brackets terminating on Windows #12434

Open
Sajgoniarz opened this issue May 19, 2016 · 1 comment
Open

Brackets terminating on Windows #12434

Sajgoniarz opened this issue May 19, 2016 · 1 comment

Comments

@Sajgoniarz
Copy link

I tried make simple script launching brackets in selected directory, but after using "brackets ." CMD is terminating and not making further commands if its placed in .bat file.

@petetnt
Copy link
Collaborator

petetnt commented May 19, 2016

Try using START command, maybe with /B flag instead:

START /B brackets .

This should start Brackets in the background without opening a new window, only to be terminated when Brackets terminates.

C:\>HELP START

Starts a separate window to run a specified program or command.

START ["title"] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
      [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
      [/NODE <NUMA node>] [/AFFINITY <hex affinity mask>] [/WAIT] [/B]
      [command/program] [parameters]

    "title"     Title to display in window title bar.
    path        Starting directory.
    B           Start application without creating a new window. The
                application has ^C handling ignored. Unless the application
                enables ^C processing, ^Break is the only way to interrupt
                the application.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants