Solved

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

Posted on 2008-10-22
6
1,630 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:cschene
  • 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:cschene
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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

Author Comment

by:cschene
ID: 22790164
sorry, what is cygwin?
0
 

Author Comment

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

Author Closing Comment

by:cschene
ID: 31508778
I never did figure it out
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now