Sponsored Content
Full Discussion: execute through socket
Top Forums Programming execute through socket Post 302497141 by wsparrow on Wednesday 16th of February 2011 01:02:53 PM
Old 02-16-2011
execute through socket

Hello,

I'm trying to launch a few programs (primarily audacity) from buttons on a flash page. This is all on a local machine, and I am aware of the inherent security risks. From what I've been able to find online, AIR and Flex can launch executables in windows, but not in nix.

I've heard mention that it can be done by building a socket between the swf and your OS, but I can't find any information on how to go about doing so.

Can any of you point me in the right direction to
a) launch programs with flash buttons?
or
b) pass commands to the terminal from flash?
or
c) run a shell from flash?

I'm not opposed to including other things (PHP, js, etc) whatever it takes.

Thanks

p.s. if it makes a difference I'm using ubuntu 10.10 with KDE and XFCE installed.
 

10 More Discussions You Might Find Interesting

1. Programming

Socket Programming socket

Hello, I actually try to make client-server program. I'm using SCO OpenServer Release 5.0.0 and when I try to compile my code (by TELNET) I've got this error : I'm just using this simple code : and I get the same error if I use : If someone can help me, Thanks (2 Replies)
Discussion started by: soshell
2 Replies

2. UNIX for Dummies Questions & Answers

C socket

I have been serching for a guide to unix C network programming everywhere but I have found only some tuorials, very useful but a little bit poors. My question is if exist a network domain all over the world where C socket is treated with examples. Programs i have looked into is hard to... (4 Replies)
Discussion started by: Davide71
4 Replies

3. IP Networking

IP Socket

Please need to setup a IP Socket on SCO Open Server 5.06 / 5.07 to a Linux machine. Al that I want to do is via a simple shell command open a tcpip address, port number, and send a call to a progam with a name of a file on the linux box. My programming language does not support socket... (1 Reply)
Discussion started by: comcaps
1 Replies

4. Shell Programming and Scripting

Need to execute 2 scripts, wait, execute 2 more wait, till end of file

:cool: I need to execute a shell script to do the following: cat a file run two back ground processes using the first two values from the file wait till those background processes finish run two more background processes using the next two values from the file wait till those background... (1 Reply)
Discussion started by: halo98
1 Replies

5. Shell Programming and Scripting

script execute or no execute

o hola.. Tengo un script que se ejecuta bajo una tarea del CronJOb del unix, tengo la version 11 de unix, mi script tiene un ciclo que lee unos archivos .txt luego cada uno de esos archivos debe pasar por un procedimiento almacenado el cual lo tengo almacenado en mi base de datos oracle 10g,... (4 Replies)
Discussion started by: Kespinoza97
4 Replies

6. UNIX for Advanced & Expert Users

connect problem for sctp socket (ipv6 socket) - Runtime fail Invalid Arguments

Hi, I was porting ipv4 application to ipv6; i was done with TCP transports. Now i am facing problem with SCTp transport at runtime. To test SCTP transport I am using following server and client socket programs. Server program runs fine, but client program fails giving Invalid Arguments for... (0 Replies)
Discussion started by: chandrutiptur
0 Replies

7. Programming

which socket should socket option on be set

Hi all, On the server side, one socket is used for listening, the others are used for communicating with the client. My question is: if i want to set option for socket, which socket should be set on? If either can be set, what's the different? Again, what's the different if set option... (1 Reply)
Discussion started by: blademan100
1 Replies

8. Programming

socket function to read a webpage (socket.h)

Why does this socket function only read the first 1440 chars of the stream. Why not the whole stream ? I checked it with gdm and valgrind and everything seems correct... #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <string.h> #include... (3 Replies)
Discussion started by: cyler
3 Replies

9. Programming

Error with socket operation on non-socket

Dear Experts, i am compiling my code in suse 4.1 which is compiling fine, but at runtime it is showing me for socket programming error no 88 as i searched in errno.h it is telling me socket operation on non socket, what is the meaning of this , how to deal with this error , please... (1 Reply)
Discussion started by: vin_pll
1 Replies

10. IP Networking

Clarification - Setting socket options at the same time when socket is listening

I need clarification on whether it is okay to set socket options on a listening socket simultaneously when it is being used in an accept() call? Following is the scenario:- -- Task 1 - is executing in a loop - polling a listen socket, lets call it 'fd', (whose file descriptor is global)... (2 Replies)
Discussion started by: jake24
2 Replies
audacity(1)						      General Commands Manual						       audacity(1)

NAME
audacity - Graphical cross-platform audio editor SYNOPSIS
audacity -help audacity -version audacity [-blocksize nnn] -test audacity [-blocksize nnn] [ AUDIO-FILE ] ... DESCRIPTION
Audacity is a graphical audio editor. This man page does not describe all of the features of Audacity or how to use it; for this, see the html documentation that came with the program, which should be accessible from the Help menu. This man page describes the Unix-specific features, including special files and environment variables. Audacity currently uses libsndfile to open many uncompressed audio formats such as WAV, AIFF, and AU, and it can also be linked to libmad, libvorbis, and libflac, to provide support for opening MP2/3, Ogg Vorbis, and FLAC files, respectively. LAME, libvorbis, libflac and libt- wolame provide facilities to export files to all these formats as well. Audacity is primarily an interactive, graphical editor, not a batch-processing tool. Whilst there is a basic batch processing tool it is experimental and incomplete. If you need to batch-process audio or do simple edits from the command line, using sox or ecasound driven by a bash script will be much more powerful than audacity. OPTIONS
-help display a brief list of command line options -version display the audacity version number -test run self diagnostics tests (only present in development builds) -blocksize nnn set the audacity block size for writing files to disk to nnn bytes FILES
~/.audacity-data/audacity.cfg Per user configuration file. /var/tmp/audacity-<user>/ Default location of Audacity's temp directory, where <user> is your username. If this location is not suitable (not enough space in /var/tmp, for example), you should change the temp directory in the Preferences and restart Audacity. Audacity is a disk-based edi- tor, so the temp directory is very important: it should always be on a fast (local) disk with lots of free space. Note that older versions of Audacity put the temp directory inside of the user's home directory. This is undesirable on many sys- tems, and using some directory in /tmp is recommended. On many modern Linux systems all files in /tmp/ will be deleted each time the system boots up, which makes recovering a recording that was going on when the system crashed much harder. This is why the default is to use a directory in /var/tmp/ which will not normally be deleted by the system. Open the Preferences to check. SEARCH PATH
When looking for plug-ins, help files, localization files, or other configuration files, Audacity searches the following locations, in this order: AUDACITY_PATH Any directories in the AUDACITY_PATH environment variable will be searched before anywhere else. . The current working directory when Audacity is started. ~/.audacity-files <prefix>/share/audacity The system-wide Audacity directory, where <prefix> is usually /usr or /usr/local, depending on where the program was installed. <prefix>/share/doc/audacity The system-wide Audacity documentation directory, where <prefix> is usually /usr or /usr/local, depending on where the program was installed. For localization files in particular (i.e. translations of Audacity into other languages), Audacity also searches <prefix>/share/locale PLUG-INS Audacity supports two types of plug-ins on Unix: LADSPA and Nyquist plug-ins. These are generally placed in a directory called plug-ins somewhere on the search path (see above). LADSPA plug-ins can either be in the plug-ins directory, or alternatively in a ladspa directory on the search path if you choose to create one. Audacity will also search the directories in the LADSPA_PATH environment variable for additional LADSPA plug-ins. Nyquist plug-ins can either be in the plug-ins directory, or alternatively in a nyquist directory on the search path if you choose to cre- ate one. VERSION
This man page documents audacity version 1.3.5 LICENSE
Audacity is distributed under the GPL, however some of the libraries it links to are distributed under other free licenses, including the LGPL and BSD licenses. BUGS
For details of known problems, see the release notes and the audacity wiki: http://www.audacityteam.org/wiki/index.php?title=Known_Issues To report a bug, see the instructions at http://www.audacityteam.org/wiki/index.php?title=Reporting_Bugs AUTHORS
Project leaders include Dominic Mazzoni, Matt Brubeck, James Crook, Vaughan Johnson, Leland Lucius, and Markus Meyer, but dozens of others have contributed, and Audacity would not be possible without wxWindows, libsndfile, and many of the other libraries it is built upon. For the most recent list of contributors and current email addresses, see our website: http://audacity.sourceforge.net/about/credits/ audacity(1)
All times are GMT -4. The time now is 08:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy