detach /Q is more yappy than advertised

Mar 18, 2010
72
1
> ver /r

TCC 26.01.35 x64 Windows 10 [Version 10.0.18363.720]
TCC Build 35 Windows 10 Build 18363

> fosvr sqlite-doc-v31r1.wdf
The process ID is 15172

> alias fosvr
detach /Q C:\bin\fossil.exe server %$ > nul &

From the DETACH help:

/QDon't display the new process's ID.

The /Q options are nice, when one prefers the "silence is golden" way. This is a bug.
 

rconn

Administrator
Staff member
May 14, 2008
12,556
167
With the trailing &, your command was converted to:

Code:
detach detach /Q C:\bin\fossil.exe server %$ > nul

The first "detach" didn't have a /Q, so it displayed a PID. The second "detach" *did* have a /Q, so it didn't - but you wouldn't have seen it anyway because it was already running in a detached session.
 
  • Like
Reactions: LarryBrasfield

Similar threads

M
Replies
0
Views
2K
Support
mathewsdw@sbcglobal.net
M