Displaying 20 results from an estimated 50000 matches similar to: "Revision of shell.exec?"
2011 May 18
2
R-code in R-file documentation
Hello List,
I would like to insert code from .r files into a LaTeX appendix
(possibly using Sweave).
I was considering:
<<results=tex,eval=true,echo=true>>=
source("file.r")
@
but I would just like to echo the code and not evaluate the code within
the file.
maybe:
<<results=tex,eval=true,echo=false>>=
cat("\\begin{verbatim}")
2007 May 11
3
shell.exec() on Windows, unexpected behavior
I have Windows XP machines with different software configurations.
My laptop has Adobe Reader 8 and Adobe Acrobat 6.
My desktop has Adobe Reader 8 and does not have Adobe Acrobat.
On both machines, PDF extensions are registered to Adobe Reader 8.0,
and double-clicking a pdf file in Windows Explorer opens Adobe Reader
8.0.
In R-2.5.0, with all Adobe windows closed, the command
2002 May 22
0
[Bug 255] New: You must "exec" login from the lowest login shell.
http://bugzilla.mindrot.org/show_bug.cgi?id=255
Summary: You must "exec" login from the lowest login shell.
Product: Portable OpenSSH
Version: -current
Platform: PPC
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
2011 Sep 14
10
fail to exec apt-get upgrade (change from notrun to 0 failed...)
So here is my manifest:
class aguu {
exec { "update":
command => "apt-get update",
path => "/usr/bin/"
}
exec { "upgrade":
command => "apt-get upgrade -y",
path => "/usr/bin/"
}
}
It it supposed to run apt-get update + upgrade
2008 May 21
1
Why exec subsystem from shell and not directly?
Hi,
This question is probably not specific to SSH but SSH uses this approach
so I'm posting here. When SSHD receives a request to run a subsystem (say
sftp), why does it FORK and EXEC a Shell with "-c /usr/sbin/sftp-server"
instead of FORKing and EXECing "/usr/sbin/sftp-sever" directly? What value
does execing the shell add? Appeciate any info or pointers.
TIA
2007 May 12
2
Fwd: Re: shell.exec() on Windows, unexpected behavior
Duncan is on the right track.
Thanks.
In the CMD window
start "c:\Program Files\R\R-2.5.0\doc\manual\R-admin.pdf"
opens another CMD window with the quoted string as title.
In the CMD window
start c:\Progra~1\R\R-2.5.0\doc\manual\R-admin.pdf
(with the 8.3 name and no embedded blanks) opens Adobe Reader 8
Windows Explorer shows the Adobe 6 icon by the PDF files.
The Windows
2009 Aug 21
1
[PATCH server] update installer exec items to single_exec where applicable
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
installer/modules/ovirt/manifests/freeipa.pp | 8 ++++----
installer/modules/ovirt/manifests/postgres.pp | 12 ++++++------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/installer/modules/ovirt/manifests/freeipa.pp b/installer/modules/ovirt/manifests/freeipa.pp
index e5de852..f91cd43 100644
---
2003 Nov 23
1
agi exec problem (followup)
actually, i do have a workaround which bypasses the exec command entirely:
system("asterisk -r -x 'add extension s,3,Playback(demo-congrats) into local'");
but it's ugly. seems like it should be possible to do this with exec.
.t
---------- Forwarded message ----------
Date: Sun, 23 Nov 2003 21:17:50 -0500 (EST)
From: tad <tad@media.mit.edu>
To:
2015 Sep 23
10
[Bug 2471] New: "match exec" prepends "exec" to its command
https://bugzilla.mindrot.org/show_bug.cgi?id=2471
Bug ID: 2471
Summary: "match exec" prepends "exec" to its command
Product: Portable OpenSSH
Version: 7.1p1
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: ssh
Assignee:
2013 Jun 04
1
exec failure doesn't abort whole puppet transaction
I have my puppet defined as (pseudo code)
class A {
exec { somethingA:
}
}
class B {
exec { somethinB:
}
}
Class[''A''] -> Class[''B'']
the exec{ somethingA: } is actually failed on my setup, I was expecting the
whole puppet transaction would fail. To my surprise, class B still got
executed, and puppet agent returned with code 2
2007 Jul 19
2
Problem to make service/package has installed and started before "exec" task
I am trying to manage MySQL DB with puppet. So I create a class and
would like to set the mysql SQL root password at the beginning.
However, the "exec" will run before mysql-server has installed or
started which make "exec" failed. how can I make sure the package
has installed/run before "exec" task?
class mysql-server {
package { "mysql":
2003 Nov 23
2
agi exec problem.
hi folks.
(apologies in advance if this is a particularly stupid question)
just getting my feet wet with asterisk / agi, and am a little stuck using
EXEC. it works fine for applicaitons that take simple arguments, but
chokes on applications that require multiple words as arguments.
for example, this works fine:
EXEC Playback(demo-congrats)
but this doesn't:
EXEC add extension
2018 Dec 19
1
[PATCH] drm/nouveau/pmu: don't print reply values if exec is false
From: Colin Ian King <colin.king at canonical.com>
Currently the uninitialized values in the array reply are printed out
when exec is false and nvkm_pmu_send has not updated the array. Avoid
confusion by only dumping out these values if they have been actually
updated.
Detected by CoverityScan, CID#1271291 ("Uninitialized scaler variable")
Fixes: ebb58dc2ef8c
2011 Jun 21
2
`exec': wrong number of arguments (ArgumentError) when using bundle exec
Hi! I''m trying to make a migration, but when I do "rake db:migrate" tell me
this:
You have already activated rake 0.9.2, but your Gemfile requires rake 0.8.7.
Consider using bundle exec.
Then, I use a bundle exec, but I have other error:
`exec'': wrong number of arguments (ArgumentError)
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/cli.rb:346:in
2012 Aug 08
2
Exec resource don't write file after the command
Hi all,
I''m trying to have the exec resource write a file after the command but it
don''t.
here is the resource declaration
class gepet {
notify { ''begin'':}
file { ''/root/essai/html'':
ensure => present,
content => "Wrote By Yves Nton",
notify => Exec[''test''],
}
exec { ''test'':
path
2012 Oct 02
3
PROBLEM : Cannot require an Exec
hello:
i currently am using Puppet to run some commands in a sequence. there are
two sequences of exec resources. we found that we cannot use require =>
Exec and it does not work at all as expected. here is some sample code.
exec { "exec-AAA":
command => "/bin/true",
returns => 0,
notify => Exec["exec-BBB"],
}
exec { "exec-BBB":
2006 Sep 08
2
post-xfer exec -- more juice!
Hello,
I'm attempting to use the pre-xfer exec and post-xfer exec utilities to
replace a complicated script which tails the rsync log and does A Bunch
Of Stuff at the beginning and completion of rsync transfers.
(It will also allow us to throw away a nasty hack which forces rsync to
log the fact that is exiting - trying to provide a catch for /all/
possible exit conditions (ie, strings in the
2017 Apr 12
2
AGI Exec Voicemail
Hi,
I have a voicemail broadcast AGI that has been running fine for years -
it collects extensions and then EXECs the Voicemail app, like this:
EXEC Voicemail \"%s\"
(%s is the extension list like AAA&BBB&CCC etc)
This works fine, but after leaving the message and pressing "#", I just
get "Thank you" and a hangup. I would like to have the option to
2009 Jun 25
2
Ensure overriden service after exec has run
Hi,
How do I force my Service declaration (with is defined elsewhere and
inherited) is run after an exec has run?
The code;
class autofs_nis::services inherits services::base {
Service[''ypbind''] {
ensure => running,
enable=> true,
}
.....
}
class autofs_nis::exec inherits services::base {
exec { "setdomainname":
command
2011 Jan 12
2
create account for Backup Exec 12.5 on Linux [RHEL5 or 4] to perform backup???
We have several LINUX servers with Backup Exec 12.5 client on it. Based on Backup administrator told us when configure backup EXEC client he need "root" password. Also we can NOT change "root" password after configure otherwise backup will failed.
Does there has way I can create a account with special group assign to it for Backup EXEC to use?
Thanks.