This is expected behaviour of pipes. It is supposed to hang untill other process connects to the pipe and reads it.
More Related Contents:
- How does synchronized work in Java
- Deadlock detection in Java
- Program hangs if thread is created in static initializer block
- Programmatic deadlock detection in java
- ReentrantReadWriteLock: what’s the difference between ReadLock and WriteLock?
- I have wondered why ‘new Thread(new Thread(),”string”);’ is running correctly
- In ArrayBlockingQueue, why copy final member field into local final variable?
- What does java.lang.Thread.interrupt() do?
- Java multi-threading & Safe Publication [closed]
- Producer/Consumer threads using a Queue
- Are Java static initializers thread safe?
- Multithreaded quicksort or mergesort
- java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-4
- In which thread do CompletableFuture’s completion handlers execute?
- If I synchronized two methods on the same class, can they run simultaneously?
- Cancelling a long running regex match?
- Turning an ExecutorService to daemon in Java
- Java: Swing Libraries & Thread Safety
- How much memory does my java thread take?
- Simplest and understandable example of volatile keyword in Java
- Sending a message to all clients (Client – Server communication)
- Sharing a variable between multiple different threads
- Wait until child threads completed : Java
- Why does java.util.concurrent.ArrayBlockingQueue use ‘while’ loops instead of ‘if’ around calls to await()?
- FixedThreadPool vs CachedThreadPool: the lesser of two evils
- Is Random class thread safe?
- JTextArea appending problems
- How to use spring transaction in multithread
- Java Synchronized list
- Propagating ThreadLocal to a new Thread fetched from a ExecutorService