Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

how does "The process tried to write to a nonexistent pipe." error message mean?

Posted on 2008-10-22
6
1,755 Views
Last Modified: 2012-05-05
I am running the batch file below as follow
batch.cmd  | tee run4.txt

and I get this error....it still runs fine, but I see no out put on the console,  but I do see output in run.txt
cd "DPM Reg Files" 
del  *.reg /Q
cd ..
 
cd "DPM command files" 
del *.cmd /Q
cd ..
 
del Kioskbuildsed.txt
CustomerSolutionDatabaseReader.exe -DBinput "CSD_Interface.XML"  -command processSedBuild -DBTranslateTable CSDQuestionTranslateTable.xml -AntBuildFile  Kioskbuidl.xml -AntSedCommandFile  Kioskbuildsed.txt 
sed -f Kioskbuildsed.txt < Kioskbuidl.xml > Kioskbuild_sed.xml
ant -f Kioskbuild_sed.xml 
 
cd "DPM Reg Files" 
copy *.reg ..\1_Ring_a\post\3-POST\REG
pause

Open in new window

0
Comment
Question by:Christopher Schene
  • 4
  • 2
6 Comments
 
LVL 1

Accepted Solution

by:
daravuth earned 250 total points
ID: 22777432
Maybe because the console was redirected during sed?

0
 

Author Comment

by:Christopher Schene
ID: 22778446
If that were the case, should I not have input up until the execution of the sed command?
0
 
LVL 1

Assisted Solution

by:daravuth
daravuth earned 250 total points
ID: 22782002
Well I don t know, maybe the output it is buffered until a new line as in unix. Does tee and sed comes from the cygwin package? If yes, do you have the script command?

you can try instead

c:\cygwin\bin\script -c "batch.cmd" run4.txt
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 

Author Comment

by:Christopher Schene
ID: 22790164
sorry, what is cygwin?
0
 

Author Comment

by:Christopher Schene
ID: 22791902
never mind, I found it on web...Linux tools for windows.
0
 

Author Closing Comment

by:Christopher Schene
ID: 31508778
I never did figure it out
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
I have published numerous articles here at Experts Exchange that present programs/scripts written in a language called AutoHotkey. Each of those articles has a brief paragraph describing where to download the product and how to install it. I have al…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question