Solved

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

Posted on 2008-10-22
6
1,801 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
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
AutoHotkey is an excellent, free, open source programming/scripting language for Windows. It started out as a keyboard/mouse macros product, but has expanded into a robust language. This article provides an introduction to it, with links to addition…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

713 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