| delorie.com/archives/browse.cgi | search |
| Message-Id: | <200310150553.h9F5rTP0014023@delorie.com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Wed, 15 Oct 2003 02:53:18 -0300 |
| To: | cygwin AT cygwin DOT com |
| From: | "Moises D. Deangelo" <lewris AT ig DOT com DOT br> |
| Cc: | |
| X-Originating-IP: | [200.226.133.170]200.226.228.199 |
| X-user: | lewris AT ig DOT com DOT br |
| MIME-Version: | 1.0 |
| Subject: | Re: system() refuses to work!!! HELP |
It did not work. I do not manage to understand what happens of wrong.
Em 14 Oct 2003, Andrew DeFaria escreveu:
>Moises D. Deangelo wrote:
>
>> Yes.
>>
>> When entering with the command ls -l /bin/sh.exe, the appeared following:
>>
>> -rwxr-x---+ 1 Diego Usuários 83456 Aug 11 10:45 /bin/sh.exe
>>
>>
>> And now? what Do I do? Does that mean something? How I said, or the
>> command system() works, or I learn to activate speaker through cygwin.
>> In ultimo case, whether someone knows how to execute a .WAV or .MP3
>> and can explain am thankful.
>
>You could try system("/bin/cat .wav > /dev/dsp"). Note that this
>does not handle mp3's just wav's.
>
>(Note that /bin/cat will probably not work for a Turbo C program because
>/bin/cat is a Posix path. You might need to do something more like
>system("C:\Cygwin\bin\bash -c '/bin/cat .wav > /dev/dsp'"). Also
>note that you need to subsititute a real wav file name for .wav).
>
>--
>Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>Problem reports: http://cygwin.com/problems.html
>Documentation: http://cygwin.com/docs.html
>FAQ: http://cygwin.com/faq/
>
>----------
_________________________________________________________
Voce quer um iGMail protegido contra vírus e spams?
Clique aqui: http://www.igmailseguro.ig.com.br
Ofertas imperdíveis! Link: http://www.americanas.com.br/ig/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |