Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

TC in backgroud?

Nov
1
0
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?

Thanks!

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


>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?

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.).
 
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.

examples:
START tcc /c foo.btm

DETACH foo.btm

-Scott


"JP Software Forums" <[email protected]> wrote on 11/12/2008 08:24:13 PM:


> 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?
>
> Thanks!
>
> cbrito
>
>
>
>
 
Back
Top