1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TC in backgroud?

Discussion in 'Support' started by cbrito, Nov 12, 2008.

  1. cbrito

    Nov 12, 2008
    Likes Received:
    Hi friends,

    I am new in TC, and perhaps this is a stupid question:

    How to run TC in background?

    Like: c:\tc\ycmd.exe c:\tc\any.bat

    but will be executed in background and not in foreground?


  2. vefatica

    May 20, 2008
    Likes Received:
    On Wed, 12 Nov 2008 19:24:23 -0600, cbrito <> wrote:

    TCMD doesn't seem a likely candidate for background execution.

    Yet in wondering about this, I issued "tcmd.exe /?" and got: "Take Command has
    encountered a problem and needs to close" (et c.).
  3. samintz

    samintz Scott Mintz

    May 20, 2008
    Likes Received:
    TakeCommand, the GUI, is not designed to run in the background. I believe
    what you are asking for is to execute a batch file in the background.

    Batch files are executed by TCC.exe (or 4NT.exe depending on which version
    you're running). To execute batch files in the background requires you to
    run another instance of TCC (or 4NT). If there is console output from
    your "background" batch execution, you'll want to launch the batch file
    using START. If you just want the batch to execute without user
    interaction or any display, you can use DETACH.

    When you start a program with DETACH, that program cannot use the
    keyboard, mouse, or video display. It is "detached" from the normal means
    of user input and output. However, you can redirect the program's standard
    I/O to other devices if necessary, using redirection symbols. In most
    cases, you should only DETACH text-mode programs, since most graphical
    applications cannot run without a screen or keyboard, or have their input
    and output redirected.

    START tcc /c foo.btm

    DETACH foo.btm


    "JP Software Forums" <neil@jpsoft.com> wrote on 11/12/2008 08:24:13 PM:


Share This Page