similar to: Capturing system console information

Displaying 20 results from an estimated 40000 matches similar to: "Capturing system console information"

2009 Jan 06
6
Calling System on winows batch file
Hello everyone, I''m using InstantRails 2.0 on a Windows XP 32 bit system. I''m developing a Rails application where I would like to execute a .bat file I''ve had a look around and this piece of code is suppose to do the trick but it does not seem to work. system(''path/to/file.bat'') Do I need to have some plugins/gems installed? Regards, McKenzie.
2010 May 22
2
Capturing R console output into a file (sink+savehistory ??)
After reading more, I understand I didn't formulate my last question correctly, so please allow me to rephrase: What I am looking for is a way to save the R console session output. That is, a command that would combine the results of using: ?sink # And ?savehistory My motivation for this is that doing it will allow someone who is a blind user of R to be able to easily export his results to
2009 Jan 14
1
meaning of
>From: Austin English <austinenglish at gmail.com> >Sent: Jan 13, 2009 7:17 PM >To: James McKenzie <jjmckenzie51 at earthlink.net> >Subject: Re: meaning of "Hardware" field in bugzilla? > >On Tue, Jan 13, 2009 at 8:15 PM, James McKenzie ><jjmckenzie51 at earthlink.net> wrote: >> Austin English wrote: >>> >>> On Tue, Jan 13,
2006 Aug 07
1
Capturing stderr from system()
Hello, I have a system command that occasionally fails and writes output to standard error, which R will print to the screen when ignore.stderr = FALSE. For example: > system("BadCommand") sh: line 1: BadCommand: command not found I would like to know if the above command fails, and can presumably do this by parsing the stderr message that R prints to the screen. My (hopefully
2010 Feb 12
1
[Fwd: Re: Errors running BiblePro and BibleStudyPro on today's Git]
Just to prove it, I replied to my own message...AND sent it to myself. What a day... -------- Original Message -------- Subject: Re: [Wine] Errors running BiblePro and BibleStudyPro on today's Git Date: Thu, 11 Feb 2010 20:07:43 -0700 From: James McKenzie <jjmckenzie51 at earthlink.net> To: James Mckenzie <jjmckenzie51 at earthlink.net> References:
2010 Sep 21
1
Fwd: Re: Regsvr32 running through Gecko
Forwarding to the list. Anyone experienced this? James McKenzie -------- Original Message -------- Subject: Re: Regsvr32 running through Gecko Date: Mon, 20 Sep 2010 09:06:55 -0700 (GMT-07:00) From: James Mckenzie <jjmckenzie51 at earthlink.net> Reply-To: James Mckenzie <jjmckenzie51 at earthlink.net> To: Jacek Caban <jacek at codeweavers.com> Jacek Caban<jacek at
2008 Nov 21
1
capturing stderr/stdout
Hi, I have an application in perl that prints some output to either stderr or stdout. Here's an example: # tmp.pl print STDERR "starting iterator\n"; for(my $i = 0; $i < 1000000; $i++) { print $i . "\n"; } # tmp.R con <- pipe("perl tmp.pl") r <- readLines(con, n = -1) close(con) However, the second line stalls until the perl for-loop finishes.
2006 Nov 02
2
Rescue don't work on web applications
Hi, I''ve a Rails application who starts a Ruby script . The script is made via Web -> database. Than you can select a script to start via a database list. Problem: In case of errors , I like to start a rescue showing the users the problems. render(:text => "<pre>" + CGI::escapeHTML(` begin /home/luc/radrails/cpe/public/startq_test.rb
2006 Nov 28
11
Extending Element with getTop, getWidth, getLeft problem
Hi, I need to extend the Element object with getTop, getWidth, getLeft . I wrote something like this in an js file and loaded it after the prototype.js . ---------------------------------------------------- Object.extend(Element, { getWidth: function(element) { element = $(element); return element.offsetWidth; }, getTop: function(element) { element = $(element); var curtop
2017 Jun 19
0
\U or \L perl regex in gsub removes text outside capturing group in UTF-8 contexts
I write to clarify the status of \U and \L when used in the replacement argument to gsub in R 3.5.0. The behaviour of gsub appears to have changed from R 3.4.0, but the documentation for the replacement argument has not. ## Reprex (A call to readLines is essential. A url is provided for convenience but the behaviour should reproduce for local files) bib <- readLines("
2007 Feb 22
7
Serializing non-ascii characters
Hello, I''m new to the Prototype Framework. I''m trying to serialize a simple form with a few checkboxes. It seems like non-ascii characters, like Ö, are not encoded properly in some cases. Please take a look: http://troxy.net/serialize.htm Checking both boxes gives the following string: namn=%25C3%25B6rjan&namn=adam ..while it should look like this:
2010 Jul 28
2
Deleting .wine as root
Bob <benjie1 at cox.net> wrote: >Sent: Jul 28, 2010 4:32 PM >To: James Mckenzie <jjmckenzie51 at earthlink.net> >Subject: Deleting .wine as root > >Hi James. Not sure how to delete .wine as root. I have to cd to >/home/benjie1 and the .wine is there. > >Can I delete it using yum in fedora? > No, yum is a package manager. You would delete the Wine
2008 Jul 18
4
btrfsctl -A not returning useful information
[root@btrfs progs-unstable]# btrfsctl -A /dev/sdb ioctl returns 0 [root@btrfs progs-unstable]# btrfsctl -A /dev/sdc ioctl returns 0 /dev/sdb has a btrfs, while /dev/sdc is blank. What''s that output supposed to mean ? Is it a bug ? -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info
2003 May 27
4
multihost master.passwd sync
-----BEGIN PGP SIGNED MESSAGE----- Just wondered if anyone had any suggestions about syncing up master.passwd files between multiple machines that didn't involve allowing root login remotely? The users need to be able to log in remotely and own files on the different machines. ~~ Andy Harrison ah##@httpsite.com ICQ: 123472 AIM/Y!: AHinMaine [full headers for details] -----BEGIN PGP
2011 Oct 23
3
Netapp like snapshots using Centos 5/6 direct attached storage
Hello, I'm researching the best method of providing about 20 users in a production environment the same functionality as they would have on a Netapp NFS share. The O/S I will be using is CentOS 5 or 6 (max flex on which one) and the hardware is a disk array directly (12 SAS disks 7TB un-configured brand new) attached to a HP 580 G 7. I've done some reading on ZFS on Linux ,fuse-ZFS,
2010 Oct 13
2
Fwd: Re: Any progress on bug 16147?
Robert Benjamin <benjie1 at cox.net> wrote: >Sent: Oct 13, 2010 4:26 AM >To: wine-users at winehq.org >Subject: Re: [Wine] Fwd: Re: Any progress on bug 16147? > >Just wondering why I haven't had a reply about the webcam problem >with iSpQ and icuii. There are a few previous posts about testing the >cam from Gert but nothing lately. Maybe because no one is working
2007 Aug 08
2
Backtick Hickup
I'm using Michel Fortin's MDTest cases to rewrite my html2text.php script. Just now I stumbled upon this bug (in PHP Markdown at least): # Input: Backtick: ``\``` # Output: <p>Backtick: ``&#96;``</p> # Should-Be Output: <p>Backtick: <code>`</code></p> If you (Michel) are already aware of this, just ignore me ;-) -- Milian Wolff
2007 Jun 11
12
Mocking system/`
This drives me insane on a regular basis. How does one mock system(''blah'') or `blah` ? Adding expectations on Kernel doesn''t do it. Adding expectations on Object just makes me sad: Object.any_instance.expects(:system).with(''ls'') # => #<Mock:0x12b584e>.system(''ls'') - expected calls: 0, actual calls: 1 And this really
2010 Jan 03
1
Re: How to achieve Japanese localization on Mac OSX?
Marvin_Arnold wrote: > > Charles Davis wrote: > > James McKenzie wrote: > > > > > vitamin wrote: > > > > > > > James McKenzie wrote: > > > > > > > > > > > > > I do think this is doable, but the appropriate variables have to be set before running Wine, just like you do in Linux (or any other UNIX for that
2010 Jul 14
3
Trouble with libgsm on Mac OS X 10.6.2
ralniv <wineforum-user at winehq.org> wrote: >Sent: Jul 14, 2010 12:48 AM >To: wine-users at winehq.org >Subject: [Wine] Re: Trouble with libgsm on Mac OS X 10.6.2 > >The above instructions lead to the following error in the Terminal window while running LOTRO... > > err:gsm:GSM_drvLoad Couldn't load libgsm.1.0.13.dylib: dlopen(libgsm.1.0.13.dylib, 258): image not