Jump to content

Topic on Project:Support desk

Where is stdout and stderr?

6
Thewhitebox (talkcontribs)

Old title: Where is stdout and stderr? [resolved]

Manual:dumpBackup.php states:

The XML file is sent to standard output (stdout); progress reports are sent to standard error (stderr)?

Where is stdout and stderr found?

Thank you.

88.130.116.211 (talkcontribs)

Hi!

That are the default output and the output device for errors. When you call the script from the shell, then both outputs should by default be sent to the shell, meaning: You should see "informational" output and errors directly on screen. You can also redirect output to other places, for example into a file.

Thewhitebox (talkcontribs)

ok thank you anon! so when i use Manual:dumpBackup.php and type:

php dumpBackup.php --full > dump.xml

where in the world does dump.xml appear?

Thank you!

88.130.116.211 (talkcontribs)

In the maintenance directory.

Thewhitebox (talkcontribs)

hi again anon! thank you for your response! it is definitely not there. any other suggestions where?

Thewhitebox (talkcontribs)

I will create a new question

Reply to "Where is stdout and stderr?"