Displaying 20 results from an estimated 3319 matches for "stdout".
2008 Apr 28
3
[Bug 1657] New: tests/functional/acl/nontrivial/ zfs_acl_cp_001_pos causes panic
...unix:cdev_ioctl+48 ()
ffffff000f8add20 specfs:spec_ioctl+86 ()
ffffff000f8adda0 genunix:fop_ioctl+7b ()
ffffff000f8adeb0 genunix:ioctl+174 ()
ffffff000f8adf00 unix:brand_sys_syscall32+292 ()
Test journals:
Test_Case_Start| 116843 tests/functional/acl/trivial/zfs_acl_compress_001_pos |
03:02:07 0 |
stdout| 03:02:07 ASSERTION: Compress will keep file attribute intact after the
file is compressed and uncompressed
stdout| 03:02:07 SUCCESS: set_cur_usr root
stdout| 03:02:08 SUCCESS: create_files /testdir106790
stdout| 03:02:09 SUCCESS: cksum_files /testdir106790/INIT BEFORE_FCKSUM
BEFORE_ACKSUM
stdout|...
2006 Feb 25
9
trace("") prints hex dump table
I''m running
SunOS unknown 5.11 snv_33 i86pc i386 i86pc
and to print a blank line in the output of my script I tried adding:
trace("");
which printed
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2006 Nov 04
0
open4-0.5.1
URIS
http://rubyforge.org/frs/?group_id=1024
http://www.codeforpeople.com/lib/ruby/
SYNOPSIS
open child process with handles on pid, stdin, stdout, and stderr: manage
child processes and their io handles easily.
HISTORY
0.5.1:
- fixes a __critical__ but in ThreadEnsemble class that had a race
condition that could cause thread deadlock. sorry bout that folks.
INSTALL
~> gem install open4
SAMPLES
--------------...
2002 May 12
1
minor error in "stderr & stdout" web site FAQ
Hello,
There appears to be an error in the stderr redirection of the crontab
rsync entry. In Bourne shell and compatibles (crontab entries are run by
the Bourne shell) redirections are processed from left to right and "2>&1"
redirects the stderr to the same location stdout is currently directed and
not to stdout. Hence:
cmd 2>&1 > log
directs stderr to the terminal and stdout to the file log. But:
cmd > log 2>&1
directs stdout to log and stderr to the same location stdout is current
redirected, the log file.
Here is a suggested patch...
2006 Aug 07
0
open4-0.5.0
URIS
http://rubyforge.org/projects/codeforpeople/
http://www.codeforpeople.com/lib/ruby/
SYNOPSIS
open child process with handles on pid, stdin, stdout, and stderr: manage
child processes and their io handles easily.
HISTORY
0.5.0:
- on the suggestion of tim pease (thanks tim!), i added timeout features
to open4. the command run may have an overall timeout and individual
timeouts set for each of the io handles. for exa...
2017 Feb 23
4
llvm-lit: 2>&1 and FileCheck
Hi all,
quite a few tests use the pattern "2>&1 | FileCheck %s". AFAIK how
stdout and stderr are merged into a single character stream is
undefined and depends e.g. on whether stdout is buffered. I think we
are often saved by the fact that standard output is written only at
the end of the program and stderr is unbuffered, i.e. always written
before stdout.
A lot of tests disabl...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...create mode 100644 scripts/storage.py
diff --git a/scripts/ovirtfunctions.py b/scripts/ovirtfunctions.py
new file mode 100644
index 0000000..f2b9e39
--- /dev/null
+++ b/scripts/ovirtfunctions.py
@@ -0,0 +1,672 @@
+#!/usr/bin/python
+import subprocess
+import os
+from subprocess import Popen, PIPE, STDOUT
+import tempfile
+import string
+import sys
+
+
+OVIRT_LOGFILE="/var/log/ovirt.log"
+OVIRT_TMP_LOGFILE="/tmp/ovirt.log"
+# label of the oVirt partition
+OVIRT_LABEL="OVIRT"
+# configuration values are loaded in the following order:
+# 1. /etc/sysconfig/node-config sets...
2006 Apr 19
0
open4-0.3.0
URIS
http://rubyforge.org/frs/?group_id=1024
http://www.codeforpeople.com/lib/ruby/
SYNOPSIS
open child process with handles on pid, stdin, stdout, and stderr
HISTORY
0.3.0 :
- bug fix from jordan breeding. general clean up. added spawn method.
0.2.0 :
- added exception marshaled from child -> parent when exec fails. thanks
to jordan breeding for a patch (yay!) and paul brannan for this most
excellent id...
2008 Sep 22
2
dovecot-sieve-1.1.5 compile error
...installed dovecot-1.1.3 with this cmd:
# ./configure --prefix=/usr/local/dovecot --disable-ipv6 --with-mysql
--with-ldap --with-zlib --enable-header-install
Then compiled dovecot-sieve-1.1.5 with this cmd:
./configure --with-dovecot=/usr/local/dovecot/lib/dovecot
But i got this error msg:
<stdout>:1654: warning: no previous prototype for 'addrget_lineno'
<stdout>:1663: warning: no previous prototype for 'addrget_in'
<stdout>:1671: warning: no previous prototype for 'addrget_out'
<stdout>:1679: warning: no previous prototype for 'addrget_leng&...
2017 Mar 19
2
The challenge of customizing Dovecot
...riables:
your_domain_tld=
your_host_only=
your_host_tld=$your_host_only.$your_domain_tld
Postfix_Database_Password=
What follows are the pieces of my customization, all comments welcomed
(this is NOT adequately tested! That is later in the week!):
sed -i -e "/^#protocols/s/$/ sieve/w /dev/stdout" /etc/dovecot/dovecot.conf
sed -i -e "s/^#protocols/protocols/w /dev/stdout" /etc/dovecot/dovecot.conf
sed -i -e "s/#quota = /sqlquota = /w /dev/stdout" /etc/dovecot/dovecot.conf
sed -i -e "/^auth_mechanisms/s/$/ login/w /dev/stdout"
/etc/dovecot/conf.d/10-auth....
2009 Sep 11
1
[PATCH] guestfish: Redirect stdout when executing remote commands
guestfish --listen necessarily redirects its stdout to /dev/null so as not to
interfere with eval. The remote protocol doesn't contain any other provision for
collecting stdout for the caller, so executing guestfish --remote will never
generate any output.
This patch fixes that by forwarding the caller's STDOUT to the listener over the
unix...
2012 May 11
1
Replacements for stdout and stderr guaranteed to be open in all versions of R
I maintain the geometry package, which integrates the Qhull C library
(http://qhull.org) into R. The Qhull function I hook into requires an
open FILE handle as one of its arguments. I had set this file handle to
stdout, but now R check NOTEs the presence of stdout, and the CRAN
maintainers asked me to get rid of these NOTEs.
Including the following defines means the checks are passed on CRAN:
#ifdef WIN32
extern FILE * R_Consolefile;
extern FILE * R_Outputfile;
#else
#include <Rinterface.h>
#fi
#undef std...
2006 Dec 18
2
AGI Help Please
...risk/agi-bin/test.php
-- AGI Script test.php completed, returning 0
-- Executing Hangup("SIP/216-0baa", "") in new stack
Here is the script:
#!/usr/bin/php -q
<?php
ob_implicit_flush(false);
set_time_limit(6);
$stdin = fopen("php://stdin","r");
$stdout = fopen('php://stdout', 'w');
function read() {
global $stdin, $debug;
$input = str_replace("\n", "", fgets($stdin, 4096));
return $input;
}
function connect_db() {
$database="asteriskcdrdb";
include("./common.php");
include("./d...
2007 Sep 07
1
plotting to stdout
...stion in R-help, but I can't
find the answer, and I'm giving up on mindless tinkering.
http://tolstoy.newcastle.edu.au/R/help/03a/5994.html
https://stat.ethz.ch/pipermail/r-help/2004-December/062259.html
I must be able to pipe the poltting commands to stdin and receive the plot
on stdout, with errors written to stderr, should any occur.
Here's what I tried:
file test.r:
~~~~~~~~~~~~~~~~~~~~~~~~~~
postscript(stdout())
plot(0)
~~~~~~~~~~~~~~~~~~~~~~~~~~
This command:
cat test.r | r --vanilla --slave
writes the output to a file named "1"
I have also tried:...
2001 Jun 15
2
openssh 2.9p1: data loss when stdout sent to a pipe
...rom a remote
command into a pipe, unless the output was short and the pipe was very
fast at processing its input.
Example 1: ssh remote_machine some_command | less
(where "some_command" generates a lot of output) now fails after
the first screenful, with a "Write failed flushing stdout buffer" message.
Example 2: ssh remote_machine 'yes | head -2000' | (sleep 3 ; wc -l)
With openssh 2.5.2p2 this correctly returns "2000".
With 2.9p1 we get
Write failed flushing stdout buffer.
1024
This is on both Linux (RedHat 7.0) and Irix (6.5.11).
Inves...
2006 Nov 21
3
Fw: re. win32-process
Hi all,
Any ideas for the question below? I know how to do this in theory - make the ''inherit'' flag true, and set the ''stdout'' and ''stderr'' startf_flags hash options to something in the startup_info hash, but I wasn''t sure how to do this in practice.
It would be nice if the answer could be something like this:
require ''win32/process''
app_name = ''c:\ruby\bin...
2003 Aug 25
1
rsync silently changes special files to regular ones!
rsync version 2.5.6 protocol version 26 on FreeBSD 4.8-STABLE i386
"promotes" character special files to regular files:
--8<---cut here:--start--->8--
# ll /dev/stdout
8282 crw-rw-rw- 1 root wheel - 22, 1 Aug 23 17:30 /dev/stdout
# rsync localhost::rsync/readme /dev/stdout
$Id: readme,v 1.2 2003/08/05 02:38:25 root Exp root $
...
# ll /dev/stdout
7527 -rw-r--r-- 1 root wheel - 136 Aug 24 11:49 /dev/stdout
# ./MAKEDEV std
# ll /dev/stdout
7527 crw-rw-...
2011 Aug 31
1
[PATCH node] fix install when VG exists on disk
...age.py | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/scripts/storage.py b/scripts/storage.py
index 5f7f0e3..047bcd1 100644
--- a/scripts/storage.py
+++ b/scripts/storage.py
@@ -90,13 +90,19 @@ class Storage:
vg = subprocess.Popen(vg_cmd, shell=True, stdout=PIPE, stderr=STDOUT)
vg_output = vg.stdout.read()
for vg in vg_output:
- pvs = system("pvscan -o pv_name,vg_uuid --noheadings | grep \"%s\" | egrep -v -q \"%s%s[0-9]+|%s \"") % (vg, dev, part_delim, dev)
- if pvs > 0:
+...
2015 May 18
0
install.packages() / update.packages() sometimes outputs to stdout and sometimes to stderr [and menu() & readline()]
I've noticed that install.packages()
[https://svn.r-project.org/R/trunk/src/library/utils/R/packages.R] and
update.packages()
[https://svn.r-project.org/R/trunk/src/library/utils/R/packages2.R]
sometimes output to stdout and sometimes to stderr.
It looks like stderr is used (e.g. via cat()) when the message is part
of querying the user, e.g.
update.packages <- function(lib.loc = NULL, repos = getOption("repos"),
[...]
cat(old[k, "Package"], ":\n",
"...
2008 Sep 18
2
Unbuffered stdout?
Hello,
I'm running a DOS mode text program under Wine via a Mac OSX Objective-C/Cocoa program. I use NSTask to run Wine and capture stdin, stdout and stderr via NSPipes. I'm having an issue where output from the DOS mode text program doesn't get to the Objective-C/Cocoa program until after the program ends in Wine. I think this is happening because stdout is buffered.
Is there a way to cause Wine to treat stdout and stderr as unbu...