Displaying 20 results from an estimated 79 matches for "app_name".
Did you mean:
app2_name
2006 Nov 21
3
Fw: re. win32-process
...ue, 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\ruby "'' + Dir.pwd + ''/test.rb"''
my_out = $stdout.clone
my_err = $stderr.clone
my_out.reopen(''NUL'')
my_err.reopen(''NUL'')
Process.create(
:app_name => app_name,
:inherit => true,
:creatio...
2008 Sep 15
2
wine handles an app weirdly in ubuntu 8.04
...e files with desired configuration options I choose at that
time. The next time started it simply uses those files.
I copied the folder with the app and old config files to my Ubuntu 8.04
desktop and here what I have.
1. If I open the app folder in Nautilus and then either double click on
the app_name.exe file or select "Open with 'Wine Windows Program Loader'"
it starts and uses the existing config files without any problems.
2. If I create a launcher to the app in its own folder (did it just for a
test sake) it also works correctly as described above.
If instead:
1. I mo...
2008 Mar 28
5
Upgrading from older version - how?
Hi there,
We''ve been using previous version of bdrb (drb based one) for a while
and it was running relatively OK. We recently attempted to upgrade to
the new version to keep up / use supported version but we ended up
reverting to the older version.
Here are the things that moved us to revert :
1) With the workers we never manage to pass this error:
''''
You have a nil
2007 Mar 01
4
Cookie based session management problems
...39;'m sure I''m just missing something, but I can''t get sessions to survive
the first redirect. I added the following code to environment.rb, based
on Ryan''s (http://www.ryandaigle.com/) note:
config.action_controller.session = {
:session_key => ''_<%= app_name %>_session'',
:secret => ''<%= CGI::Session.generate_unique_id(app_name) %>''
}
The problem is probably related to the fact that the embedded ruby is
not getting processed. The generated cookie is
NAME: _<%
VALUE app_name %>_session...
What am I m...
2011 Jan 09
4
[ win32utils-Bugs-28840 ] wrong process_id is returned if using create multiple times for IE
...process
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Jarmo Pertman (juuser)
Assigned to: Nobody (None)
Summary: wrong process_id is returned if using create multiple times for IE
Initial Comment:
Hi.
Execute in IRB:
require "win32/process"
proc1 = Process.create(:app_name => "C:\Program Files (x86)\Internet Explorer\iexplore.exe about:blank")
Process.kill 9, proc1.process_id # works
proc1 = Process.create(:app_name => "C:\Program Files (x86)\Internet Explorer\iexplore.exe about:blank")
proc2 = Process.create(:app_name => "C:\Program...
2023 Jun 07
1
Listen to ARI events
...tron","number":"1009"},"connected":{"name":"","number":""},"accountcode":"","dialplan":{"context":"from-external","exten":"s","priority":1,"app_name":"","app_data":""},"creationtime":"2023-06-07T10:54:56.295-0300","language":"en"},"asterisk_id":"0c:c4:7a:ba:b3:5a","application":"test"}
<
{"type":"ChannelDialplan&q...
2006 Apr 14
3
[ win32utils-Bugs-4101 ] create hash param
...ker/?func=detail&atid=411&aid=4101&group_id=85
Category: win32-process
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: create hash param
Initial Comment:
hi,
problem with process, when I do
pid = Process.create(
:app_name => command[0],
:creation_flags => Process::DETACHED_PROCESS||Process::ABOVE_NORMAL,
:startf_flags=> Process::USESHOWWINDOW,
:sw_flags => Process::SW_MINIMIZE
)
it appear in the normal show windows, ane the ABOVE_NORMAL is''nt used.
it seems that the parameters arent...
2007 Dec 05
21
Fwd: win32/process problem
...Subject: win32/process problem
To: comp.lang.ruby
I have an application that consists of serveral independent parts.
I want to use the Windows Process API to spawn the different
processes.
e.g.
require ''rubygems''
require ''win32/process''
x = Process.create(:app_name => "rubyw learnbase_server.rb")
puts x.process_id
puts a process id, but i get the error: [BUG] Segmentation fault.
Not even x = Process.create(:app_name => "notepad") works. It starts
notepad, but i get the same error.
--
Posted viahttp://www.ruby-forum.com/.
2023 Jun 07
1
Listen to ARI events
...tron","number":"1009"},"connected":{"name":"","number":""},"accountcode":"","dialplan":{"context":"from-external","exten":"s","priority":1,"app_name":"","app_data":""},"creationtime":"2023-06-07T10:54:56.295-0300","language":"en"},"asterisk_id":"0c:c4:7a:ba:b3:5a","application":"test"}
< {"type":"ChannelDialplan&q...
2023 Jun 07
1
Listen to ARI events
I’ve reread the documentation a few times, and what isn’t clear is whether I need an app=X parameter in the url. In other words, can I only get events for a single named statis app? Or can I get events for the entire Asterisk server?
The command below (without app= parameter) results in no events being shown, but no error either.
Thanks
Brian
(Ast newbie)
From: asterisk-users
2013 Oct 15
6
hiera_array, structured data and multiple levels of hierarchy
...ta for each file, all dependent on the hiera hierarchy.
Here''s the relevant portion of my hiera.yaml:
> :hierarchy:
>
> - "datacenter/app/role/node/%{::clientcert}"
>
> - "datacenter/app/role/%{::server_role}"
>
> - "datacenter/app/%{::app_name}"
>
> - "datacenter/%{::datacenter}"
>
> - common
>
>
Basically, a node can have different files in /etc/sudoers.d/ depending on
the structure above. I want each sudoers definition to be in it''s own file
in /etc/sudoers.d/.
Here''s how I hav...
2012 Nov 01
4
[PATCH v2 0/3] New inspect_list_applications2 API
Here's the new API method and update to virt-inspector. I still need
to implement app_arch for debian and windows (if applicable), for now
they just return empty strings.
New in v2: incorporated feedback from v1, also added patch #3 which
updates the documentation where it references the deprecated API.
Take it or leave it.
2012 Nov 01
2
[PATCH 0/2] New inspect_list_applications2 API
Here's the new API method and update to virt-inspector. I still need
to implement app_arch for debian and windows (if applicable), for now
they just return empty strings.
2006 Mar 13
2
Dreamhost uploading
I haven''t had a chance to upload my app and configure dreamhost, but I
did log in and create the folder using the "rails app_name" command.
Now, my question is, I read online to do this:
> cd domain.com
> rails my_app_name
So, I did just that. Rails will know what to do even though my
application is in a sub-directory under "domain.com"?
Essentially,
/domain.com/my_app_name/app/
is where all of my...
2006 Jan 26
2
Change email template for Salted Hash Login Generator?
There are a couple of things I''m trying to do with the salted hash login
generator.
First off I am trying to change the email template to include some other
things such as links to the site, instructions and other email goodness.
Second I am trying to find where the gem is pulling the app_url from
because I changed it to reference my host name, but I have not been able
to get it to
2012 Nov 07
12
Develop using Rails in offline mode
I''m very new to Rails and I''m quite confused if I can practice Rails in
offline mode?
I''m following the Ruby on Rails Tutorail by Michael Hartl and I noticed
that after generating a new app through the command "rails new app_name",
"bundle install" is then called to download the gems specified in the
Gemfile.
What if I don''t have an internet connection? Can I still play with Rails?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group....
2009 Feb 15
2
Execute cap deploy:migrations fails
...en I run deploy:check command "You appear to have all
necessary dependencies installed".
Here is my deploy script
default_run_options[:pty] = true
# be sure to change these
set :user, ''USER_NAME''
set :domain, ''DOMAIN_NAME''
set :application, ''APP_NAME''
# the rest should be good
set :repository, "#{user}@#{domain}:home/#{user}/#{domain}/git/#
{application}.git"
set :deploy_to, "/home/#{user}/#{domain}"
set :deploy_via, :remote_cache
set :scm, ''git''
set :branch, ''master''
set :git_s...
2020 Aug 06
2
Is it possible to use Stasis to control both legs of a Local channel created using ARI?
...quot;: {
"name": "",
"number": ""
},
"accountcode": "",
"dialplan": {
"context": "mycontext",
"exten": "1000",
"priority": 1,
"app_name": "Stasis",
"app_data": "hello-world2"
},
"creationtime": "2020-08-06T11:37:50.531-0500",
"language": "en"
},
"asterisk_id": "00:15:5d:8e:01:38",
"application": "hel...
2006 Mar 01
1
HowtoInstallOnTextDrive : run command ?
Hello,
I try to install my local little site on my textdrive account.
So I read this :
http://wiki.rubyonrails.com/rails/pages/HowtoInstallOnTextDrive
But I''m very newbie, and I don''t understand the line :
*1. run the command “rails sites_directory/app_name”*
How "run" the command ? From what app ? From where ?
Can someone could tell me what are the software I need to install a
personnal site ?
Thanks
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.r...
2010 Mar 20
1
Tab key traversal
...e(5, 5)
wxEVT_CHAR(@m_textCtrl2) { m_textCtrl3.set_focus }
wxEVT_CHAR(@m_textCtrl3) { m_textCtrl4.set_focus }
wxEVT_CHAR(@m_textCtrl4) { m_textCtrl4.set_focus }
# evt_button(@m_buttonincrement) { increaseColour }
# evt_button(@m_buttondecrement) { decreaseColour }
end
Wx::App.run do
self.app_name = ''TestNotebook''
frame = MainFrame.new
frame.show
end