Programming :: Spawn Web Browser In C Programme?

Sep 23, 2010

i want to spawn the browser in c programme like qtp & selenium.

View 1 Replies


ADVERTISEMENT

General :: Spawn Browser Windows From A Service?

Apr 28, 2011

I'm using Ubuntu 10.0.4. I'm running a background process on system startup (Selenium) that needs to launch browsers (e.g. Firefox, Google Chrome). What settings do I need to enable in order to do this? Currently, even if I SSH in as a user, I'm not able to launch a browser and get this error ...

Code:
selenium@selenium-chi:~$ /usr/bin/google-chrome
No protocol specified

(chromium-browser:2156): Gtk-WARNING **: cannot open display: :0.0

View 10 Replies View Related

Programming :: Expect Script Error: Spawn Not Found

Dec 13, 2010

I am working on an expect script to login into a server and copy few wars across the folders. But when i execute it I am getting the following error:

[exec] loginServer.sh: spawn: not found.
[exec] loginServer.sh: expect: 0403-006 Execute permission denied.
[exec] send: -- unknown

The first line is : #!/usr/bin/expect -f.Is this anything to do with server setting or configuration that doesn't allow spawn??

View 3 Replies View Related

Programming :: Use Curl And Spawn Multiple Connection At A Time?

Jan 24, 2010

I am using a perl script which uses curl in the background to download files from rapidshare premium,one file at a time. I wanted to know is it possible to use curl and spawn multiple connection at a time,to download the same file in multiple parts?? I don't seem to find an option in curl which does that.

View 1 Replies View Related

Programming :: Send: Spawn Id Exp1025 Not Open In Tcl/expect

Apr 21, 2010

my tcl framework give exception - send: spawn id exp1025 not open - while executing command - exp_send "echo $ABC". Though this is very sporadic in nature and frequency of occurrence is very less, but still i need to fix it.

I have following queries

- why does this occur so sporadically?

- how do i fix it?

- what shall i do to avoid such exceptions in future.

Note : The function which runs the exp_send command always spawn a bash whenever it is called.

View 3 Replies View Related

Programming :: Fork: Not Enough Memory While Executing "spawn Bash"

Apr 9, 2010

I have a TCL framewrok for my test cases automation. This is been working for last 1 year. But yesterday it exited with exception when a function was called. The exception was given as fork: not enough memory while executing "spawn bash"(procedure "runtrigger" line 36) invoked from within "runtrigger $fnAfter $sid_l $mapver" ("trigger" arm line 6) invoked from within

View 4 Replies View Related

General :: How To Use Fork In My Programme

Aug 31, 2009

1) Write a C program using the fork() system call that that generates the Fibonacci sequence in the child process. The number of the sequence will be provided in the command line. For example, if 5 is provided, the first five numbers in the Fibonacci sequence will be output by the child process. Because the parent and child processes have their own copies of the data, it will be necessary for the child to output the sequence. Have the parent invoke the wait() call to wait for the child process to complete before exiting the program. Perform necessary error checking to ensure that a non-negative number is passed on the command line.

2) Repeat the preceding exercise, this time using the CreateProcess () in the Win32 API. In this instance, you will need to specify a separate program to be invoked from CreateProcess(). It is this separate program that will run as a child process outputting the Fibonacci sequence. Perform necessary error checking to ensure that a non-negative number is passed on the command line.i have done with Fibonacci sequence .but i dont know how to include tht fork() function and win32 api .any one can help to finish?

View 4 Replies View Related

Ubuntu :: Ssh To A Box And Launch A Programme

Jul 19, 2011

Is that possible to ssh to a box and launch a programme, say firefox, have the session disconnet when not using it and then you can reconnect to the same session again?

View 2 Replies View Related

Ubuntu :: Launching Programme At Start

Dec 31, 2010

I've written a simple program in C++ that I want the system to launch each time I turn the ubuntu system on. Any idea how to do this?(I'm not an expert either so please be explicit )

View 3 Replies View Related

General :: Is Ubuntu OS Or Just Software Programme?

Sep 21, 2010

When opening ubuntu live cd it appears to me as an operative system. Can it replace an os OR SHOULD IT BE USED ALONG WITH A SUITABLE OS? If it is the second option then what system to adopt? At present Ihave an XP prf.

View 3 Replies View Related

CentOS 5 :: Sometimes Programme Gives Segmentation Fault

Aug 20, 2011

I am new at Centos. Sometimes my programme gives segmentation fault. This line is from it:./hlds_run: line 321: 5680 Segmentation fault $HL_CM

View 1 Replies View Related

Fedora :: Unable To See Minimize Programme On Desktop Bar

Nov 20, 2009

I m newbie in Linux os & i need help from all of you so please help me on this issue.i'm Unable to see minim ize programe on desktop bar.please have a look on image.9 programes running but

View 7 Replies View Related

Ubuntu :: Create A Launcher For Java Programme

Aug 11, 2010

I have a programme known as OpenRep which can be launched by executing the file named OpenRep.jar by OpenJDK Java 6 Runtime programme This programme can also be launched through terminal by the command

Code:

java -jar OpenRep.jar

The location of the programme is in my Home folder. Well I would like to create a launcher for that programme.

View 9 Replies View Related

Ubuntu :: Programme That The Volume Control On The Keyboard?

Oct 23, 2010

good programme that the volume control on the keyboard can work on the master control?

View 1 Replies View Related

General :: Programme With Grammar Mistake [ Can't Find Out

Apr 25, 2011

i just can't know how to get it work.

Code: #include<stdio.h>
main()
{
int _res;int i=3;int b=5;
asm_ ("add %1,%0"
:"=d"(_res):"a" (b),"0" (i));
printf("%d",_res);
}

View 4 Replies View Related

Software :: Run X Server (or Equivalent) For A Single Programme

Oct 13, 2010

I discovered that if you install directFB (a framebuffer display library magic thing) you can run "links -g" which makes an attempt to be graphical, but it's still not quite the same as a normal browser... I was wondering if there was any way to run an X server for a single programme, or an equivalent solution. Essentially, what I'd like to be able to do is run, say, "startx firefox [URL] and for an X server to be created solely to run my firefox instance. Obviously, the current behaviour (at least, in Ubuntu, as I haven't installed X on Gentoo) is to bring up a graphical login screen, allowing me to start an entirely new X session. Is there a way to do this, or is it just "not how X works"?

View 2 Replies View Related

General :: Ubuntu - Spawn Multiple Ssh Terminals?

Nov 25, 2010

when i am logged into my server via SSH how can i spawn many ssh terminals? is there a xterm command for this?

View 6 Replies View Related

General :: To Spawn A Task That Runs For Hours?

Nov 2, 2010

I have been doing this for quite sometime now, yet lately I wonder if this is what everybody does...I have a task that will run for hours. In order to not to interrupt that task when I logoff for the day, I issued the command:

Code:
at now 'sh ~/a-long-task'
Is this what everybody else does?

View 2 Replies View Related

OpenSUSE Multimedia :: Download A Programme From The BBC Iplayer, Using Get_iplayer Version 2.48?

Nov 24, 2009

I am trying to download a programme from the BBC iplayer, using get_iplayer version 2.48. I get an error message saying that it needs rtmpdump >= 1.5, or flvstreamer. I have rtmpdump version 1.4 installed, but can't find either rtmpdump>=1.5 or flvstreamer for opensuse (11.1).

View 9 Replies View Related

Ubuntu :: Kill An Open Programme With The Keyboard (in Karmic Koala)?

Jan 20, 2010

Occasionally my mouse and touchpad freeze. How can I kill an open programme with the keyboard (in Karmic Koala)?

View 4 Replies View Related

Ubuntu Security :: Small Portable Encrypt/decrypt Programme ?

Mar 31, 2011

I was wondering if any free, small, portable, cross platform programme exists for encrypting/decrpyitng simple txt files?

I know a couple of small ones for windows systems (nosee, dscrypt) but i wonder if there is any i could use on both linux and windows OS. the idea is to be able to carry it on USB key and the programme (or probably there will have to be 2 versions of it) would run either on windows or linux os and i could decrypt and encrypt the file if i needed to. no matter on what system i plug the USB key to.

View 9 Replies View Related

Fedora X86/64bit :: Can't Able To Create More Than 28 Spawn Bash In Core 64 Bit?

Jun 1, 2010

I can't able to create more than 28 spawn bash in fedora core 7 (2.6.25.4 kernel) linux 64 bit machine. I can able to create 1015 spawn bash in 32 bit fedora 7 core. Script I have used for both 32 bit and 64 bit:

[Code]...

View 1 Replies View Related

OpenSUSE Network :: Can't Manage To Php5 Cgi With Using Spawn-fcgi

Mar 18, 2011

I am trying to set up an nginx server. I intend to use it with, php and python, and probably with frameworks like django and codeigniter. However, I can't get it working. This is what I did: Installed these from Install/remove software:

nginx,FastCGI,php5-fastcgi,python-fcgi,spawn-fcgi

My current nginx.conf file is this (Stripped comments):

[code]...

What happens is: when I type a php url to address bar, I only get a text saying "No input file specified." This is what I get when I make netcat sit on 9000, and go for <hostname>/phpinfo.php:

[code]...

There are clearly some config problems here, but can't find out what are they, since this is first time I try to setup nginx and fastcgi.

View 1 Replies View Related

Ubuntu :: Can't Spawn Telnet Session In Expect Script

Apr 22, 2010

I am moving my migration forward and am trying to get my expect scripts tested and found one that no longer works. Quite simply, it spawns a telnet session to a router.

#!/usr/bin/expect
set env(TERM) vt100
set timeout 3
set send_human {.1 .3 1 .05 2}
set timeout -1
#
spawn telnet 10.254.3.232

and that's it. The result of the script is that the command to spawn simply shows up on the screen like it is a puts command. On my older openSUSE system, it worked fine. I am running Ubuntu v9.10 desktop, and expect and its libs are patched to the latest rev, expect is 5.43.0.

View 1 Replies View Related

Ubuntu Installation :: Failed To Spawn Spreadahead Main Process

May 26, 2010

I have recently upgraded 9.10 to 10.04 through the alternate CD. However, each time when I boot my system, post upgrade, I receive this error: INIT:failed to spawn spreadahead main process: unable to execute: No such file or directory After that it waits for a long time to show the desktop.

View 2 Replies View Related

Ubuntu Servers :: Login With VNC Viewer And Spawn Gnome Session

Dec 1, 2010

I have just installed a version of 32 bits Lucid LTS on a server box. I would like to setup a VNC service so that I will be able to login to the server with VNC viewer and spawn a gnome-session. I ran the following command:
Code:
apt-get install ubuntu-desktop
apt-get install Xvnc xinetd

I was in front of the server and make sure that I can start a gdm locally. Then, I added Xvnc service to xinetd following the guide here: {URL] I was only using a session, and /etc/xinetd.d/Xvnc is as follow:
Code:
service Xvnc
{
type = UNLISTED
disable = no
socket_type = stream
protocol = tcp
wait = yes
user = root
server = /usr/bin/Xvnc .....

After all, I restart gdm by "/etc/init.d/gdm restart". When I try to start a VNC connection from another machine, I can see Xvnc running successfully. But XDMCP does not run properly and I cannot see a traditional ubuntu login screen. I am sure that port 177 UDP is opening by looking at the output of "netstat -anp".

View 5 Replies View Related

Server :: Nginx/php/spawn-fcgi: No Response When Script Requests Same

Apr 12, 2011

I have a perfectly working installation of nginx / PHP / fastcgi on the latest stable Debian distribution. No problems at all, apart from this one: When a PHP script (script A) is written to request a PHP script on the same web server (script B), nginx takes several minutes to respond and finally the connection times out. And it happens only when invoking script A through nginx. Calling it from command line works fine � I get a normal output of script B.

Literally, the test case is as simple as:

Script A:

PHP Code:

[code]....

I suppose the root of the problem may be some obstacle occurring when php5-cgi ends up invoking itself. And this is what happens when script A is called through nginx. But I have no ideas yet how to address the problem. One of my PHP applications checks itself during installation, that's why I need to request a PHP script from a PHP script on the same server.

View 1 Replies View Related

Programming :: PHP - Browser Doesn't Open The File Only To Download

Apr 12, 2010

I'm currently on LinuxMint. I'd like to start PHP scripting, but the browser doesn't want to open the file, only to download. I've red the description on Ubuntu's site how to bring apache2 and PHP together, but it simply cannot find php module. How on earth can I force Linux to act as a normal OS?

View 3 Replies View Related

Programming :: Get Default Browser Name And Mail Client Name By Programmatically?

May 4, 2009

I am developing a application in which i have to show the name of default browser and mail client. i want to run this application on RedHat, SuSE, Mandriva, and Ubuntu. I have checked similar threads but not found any useful information.

View 8 Replies View Related

Ubuntu :: Boot Error: Failed To Spawn Rc-sysinit Main Process?

May 28, 2010

I have a minimal installation of Ubuntu, with lxde-core and some other apps I really use. Sometimes when I start the system, it hangs and nothing else happens. I hit Esc and then I see:Code:init: Failed to spawn rc-sysinit main porcess: Unable to open console: Input/Output error.I get stuck there, and the only thing I can do is to hold the power button, shutdown, boot again, and pray it will boot fine. Sometimes it does, sometimes it doesn't.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved