From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6130 216.105.38.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 105A21F453 for ; Mon, 5 Nov 2018 01:26:30 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1gJTed-0001wC-Iq; Mon, 05 Nov 2018 01:26:11 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1gJTed-0001w5-7D for sox-users@lists.sourceforge.net; Mon, 05 Nov 2018 01:26:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:To:Subject:Message-ID:Date:From: MIME-Version:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=W7xUKuJYDHakE+Ah2veZEj4MWjxEdjUTo9VfItIhYfw=; b=dRLUvPLKcxNbA6mSOCalLDlbzy WDBmN8+s4+9Z/Gjun82YZhzgvimVWVIYsEmwVcoUODWDGApcOBTLDN7Rq7oL5Zl1+TQNFQeGrUZ0b rKBNZLAuPpjdtfAKNqB6nsIO5U7KeXywziOHBWkZYK4EHBFD+kbeQwm8Y62RCW3uFHg4=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:To:Subject:Message-ID:Date:From:MIME-Version:Sender:Reply-To :Cc:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=W7xUKuJYDHakE+Ah2veZEj4MWjxEdjUTo9VfItIhYfw=; b=O sMU3TioQ/UrzoPhCVXqYefOAaklHszq6EX9e+1sKKrqwW/uVl+D7xsL08Zqb0JY5BPVPy3w3pIWX8 0Gixa3zMWFjKrJNYfBcA9PXjnIi82hkj4C8PUnxJ9+2QGcEa3tgbAMJfSpL+LD2kWhEnDGu1kX9+C Xj6XdM/Y3m1BWzjY=; Received: from mail-lf1-f51.google.com ([209.85.167.51]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) id 1gJTeX-001XIb-M4 for sox-users@lists.sourceforge.net; Mon, 05 Nov 2018 01:26:11 +0000 Received: by mail-lf1-f51.google.com with SMTP id n18so4938228lfh.6 for ; Sun, 04 Nov 2018 17:26:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=robinett-us.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=W7xUKuJYDHakE+Ah2veZEj4MWjxEdjUTo9VfItIhYfw=; b=XgSLEX8TPTQ/MTsoWE1/IHcZmzz8Nf3sMGeMjuZDoBFOufeuXymirH6vHvReAF4eVg JILkm/zzr8y+iuQXc5JGqynKeBH0V+DZuaDfNJgYz2310O/JnsmFVEU7r9KU1YX68b0j 9D9wvCfeUwxSaVIg0aX+VEaNI0J3tMt4zeqSFOvfXnpvrotRilP4Rta/XvaaskVsxswE wV3FuuKoj1SEY18r1/HRb9jbH3UI/O6HXR0/NnCDuwzhHy0ZAZRo1RI+LoEw+fjeg2Tw qJ+1erc3yV7VdyccKoye+2t0Fi1bsXcBrAw9tzO/V+fiZ10dSFKCgXtbfeqszrBHXqaB cL2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=W7xUKuJYDHakE+Ah2veZEj4MWjxEdjUTo9VfItIhYfw=; b=MO9YiRTv5WY2Gnokt8q6Y16WGbi8TLmgYgisfM/pEKq5sMv4tkJpch00Yw7ONZNGhN hOmmavflUjKIhsOrAVmrD61+SDNE5LpDap2XZcHN+QinobMb1Yg5gRyfdtclf5GAW1Yr 73yvptWUx9uH3zHc9IgJk55kFj8cjmDaVR50U8lXu97/hZVaMgqlsGTLdGJg/LoQQ0XX 7S3CG86d3YY24YwXPKWgn5Rk5+oqP4A4riU+l2LHbuJYLUT1MdNxPjX24Ci/kdeyFHSh Zsy36/tI0kAsCwD/ZmgqWltkdADQ3e6OKzuyIqKFdyJmo7/6Id+6DE6Grkmq8jrYsp2z ANtQ== X-Gm-Message-State: AGRZ1gJ7d8eAur+Kv5SYZpxVACmcaR1soUGqjL1wD8kJvymT+wHYMEzi MPiQgpcAJxaHzLJh4QsRBFIWcnGcGnYYimQv+MCQnAQiuf4= X-Google-Smtp-Source: AJdET5fshvfd7ESdZnDsgLcudz69VbMylUDr7ZCodMe5RAKTT4namkAYEjXz+3AGMISadlDmGCRSfdMOJC6AjVoK0PY= X-Received: by 2002:a19:1cd3:: with SMTP id c202mr11837664lfc.33.1541381157891; Sun, 04 Nov 2018 17:25:57 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a19:fde:0:0:0:0:0 with HTTP; Sun, 4 Nov 2018 17:25:37 -0800 (PST) X-Originating-IP: [73.15.138.50] From: Rob Robinett Date: Sun, 4 Nov 2018 17:25:37 -0800 Message-ID: To: sox-users@lists.sourceforge.net X-Headers-End: 1gJTeX-001XIb-M4 Subject: sox won't write output file when run in spawned shell X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Content-Type: multipart/mixed; boundary="===============1433975634666172410==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============1433975634666172410== Content-Type: multipart/alternative; boundary="0000000000006150e00579e0c448" --0000000000006150e00579e0c448 Content-Type: text/plain; charset="UTF-8" Hi, I am trying to us sox as part of an RF signal processing daemon on a Raspberry Pi 3B Stretch. When I execute sox from a terminal command line the output file is created, but when I spawn the command it runs but doesn't create the output file: runs and creates '0.wav': sox -r 32k -t raw -e s -b 16 -c 1 0.raw -r 12k 0.wav runs but doesn't create '0.wav': sox -r 32k -t raw -e s -b 16 -c 1 0.raw -r 12k 0.wav redirecting stdin/out/err and it still doesn't create '0.wav': sox -r 32k -t raw -e s -b 16 -c 1 0.raw -r 12k 0.wav &> out.log < /dev/null & the sox output seems the same in all cases and echo $? print 0 == success. What am I missing? thanks Rob -- Rob Robinett AI6VN rob@robinett.us mobile: +1 650 218 8896 --0000000000006150e00579e0c448 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I am trying to us sox as part of an RF signal processing daemon on a = Raspberry Pi 3B Stretch.=C2=A0 When I execute sox from a terminal command l= ine the output file is created, but when I spawn the command it runs but do= esn't create the output file:

runs and creates '0= .wav':=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sox -r 32k -t ra= w -e s -b 16 -c 1 0.raw -r 12k 0.wav=C2=A0
runs but doesn'= ;t create '0.wav':=C2=A0 =C2=A0=C2=A0sox -r 32k -t raw -e s -b 16= -c 1 0.raw -r 12k 0.wav
redirecting stdin/out/err and i= t still doesn't create '0.wav':=C2=A0 =C2=A0 =C2=A0 sox = -r 32k -t raw -e s -b 16 -c 1 0.raw -r 12k 0.wav &> out.log < /de= v/null &

the sox output seems the same in all = cases and echo $? print 0 =3D=3D success.=C2=A0 What am I missing?
thanks

Rob

<= /div>--
Rob Robinett
AI6VN
= rob@robinett.us
mobile: +1 650 218 8896
--0000000000006150e00579e0c448-- --===============1433975634666172410== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1433975634666172410== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users --===============1433975634666172410==--