StackOverflow Questions for Tag: dup

Cemetery_Gates
Cemetery_Gates

Reputation: 67

How to implement pipes and redirections in my shell?

Score: 1

Views: 667

Answers: 1

Read More
Jeremy Bray
Jeremy Bray

Reputation: 444

Rails 6 Dup in nested controller

Score: 0

Views: 59

Answers: 1

Read More
StoneThrow
StoneThrow

Reputation: 6295

Why does reading from pipe that has STDOUT_FILENO redirected to it hang without explicit endl or closing the pipe's write-end?

Score: 0

Views: 349

Answers: 0

Read More
mary
mary

Reputation: 1

How to execute the command ls|sort -r in C using pipe and fork()?

Score: -4

Views: 655

Answers: 2

Read More
Théo Monarc
Théo Monarc

Reputation: 23

Problem when redirecting standard output with dup and dup2 in c

Score: -1

Views: 648

Answers: 1

Read More
Shimon Cohen
Shimon Cohen

Reputation: 105

Difficulty with switching between stdout and file using Dup2

Score: 0

Views: 192

Answers: 1

Read More
JJ Liu
JJ Liu

Reputation: 1421

Redirect STDOUT and STDERR to socket in C?

Score: 10

Views: 20905

Answers: 4

Read More
Jann Poppinga
Jann Poppinga

Reputation: 554

Why is the getline in my child process blocking?

Score: 1

Views: 181

Answers: 0

Read More
John U
John U

Reputation: 2993

Redirect stdout/stderr using dup2, then resinstate later

Score: 4

Views: 8216

Answers: 2

Read More
Teodor Dyakov
Teodor Dyakov

Reputation: 352

Piping the stdout of a command to the stdin of another other using shared file and dup2()

Score: 2

Views: 67

Answers: 1

Read More
Othman El houfi
Othman El houfi

Reputation: 53

Capture sdtout and stderr with pipe and dupe2 using C langage

Score: 0

Views: 210

Answers: 0

Read More
SaltyGiampy
SaltyGiampy

Reputation: 95

Can't read from a pipe after dup2() and fork. C

Score: 0

Views: 581

Answers: 1

Read More
SaltyGiampy
SaltyGiampy

Reputation: 95

dup2() is blocking with child processes? C

Score: 1

Views: 1488

Answers: 1

Read More
lsole
lsole

Reputation: 75

Output written twice and overlapping after pipe and fork

Score: 0

Views: 140

Answers: 1

Read More
JnxF
JnxF

Reputation: 121

Redirecting input to thread

Score: 1

Views: 64

Answers: 0

Read More
pat
pat

Reputation: 185

How to properly perform multiple redirection in C

Score: 0

Views: 1116

Answers: 1

Read More
Carlos Hevia
Carlos Hevia

Reputation: 11

send several strings through a pipe to a child process

Score: -1

Views: 77

Answers: 1

Read More
hugogogo
hugogogo

Reputation: 637

why does printf in c seems to gives its result after other action occured?

Score: 0

Views: 448

Answers: 1

Read More
Marine Biologist Kujo
Marine Biologist Kujo

Reputation: 143

Problem restoring stdout after using pipe

Score: 0

Views: 968

Answers: 2

Read More
Marine Biologist Kujo
Marine Biologist Kujo

Reputation: 143

Why is it that my pipe does not read in the printf despite replacing stdin?

Score: 0

Views: 243

Answers: 1

Read More
PreviousPage 2Next