Questions tagged [silent]

Silent refers to the suppression of messaging of a process or thread. Such threads may typically send messages over any of various channels, including [stdout] or [stderr].

Overview

Silent refers to the suppression of messaging of a process or thread. Such threads may typically send messages over any of various channels, including [stdout] or [stderr].

330 questions
154
votes
18 answers

How to run a PowerShell script without displaying a window?

How is it possible to run a PowerShell script without displaying a window or any other sign to the user? In other words, the script should run quietly in the background without any sign to the user. Extra credit for an answer that does not use third…
Thomas Bratt
  • 40,822
  • 34
  • 113
  • 133
88
votes
16 answers

Install apps silently, with granted INSTALL_PACKAGES permission

I am trying to silently install apk into the system. My app is located in /system/app and successfully granted permission "android.permission.INSTALL_PACKAGES" However I can't find anywhere how to use this permission. I tried to copy files to…
POMATu
  • 3,273
  • 7
  • 26
  • 41
65
votes
4 answers

Is there a quiet version of subprocess.call?

Is there a variant of subprocess.call that can run the command without printing to standard out, or a way to block out it's standard out messages?
fergusdawson
  • 1,445
  • 3
  • 14
  • 18
47
votes
8 answers

How do I start playing audio when in silent mode & locked in iOS 6?

End-user process Open app Switch on 'Silent Mode'. Press 'Lock-button' App can still START playing a sound after hours have passed, not playing any audio in the interim. Apps that do this A lot of alarm apps have manage to do this & I dont think…
Andres Canella
  • 3,592
  • 1
  • 30
  • 45
43
votes
5 answers

Why does $.getJSON silently fail?

It seems very inconvenient that jQuery's $.getJSON silently fails when the data returned is not valid JSON. Why was this implemented with silent failure? What is the easiest way to perform getJSON with better failure behavior (e.g. throw an…
Dan Burton
  • 51,332
  • 25
  • 109
  • 190
39
votes
7 answers

Cygwin - run script silenty from "run command"

I have script lets say: C:\foo.bsh I want to be able to run this command via the windows run command: Start -> Run Windows Key + R and type something small like 'foo' and hitting return. However, I do not want a cmd prompt to be visible. This…
Russ
  • 1,866
  • 3
  • 18
  • 28
36
votes
6 answers

Running command line silently with VbScript and getting output?

I want to be able to run a program through command line and I want to start it with VbScript. I also want to get the output of the command line and assign it to a variable and I want all this to be done silently without cmd windows popping up. I…
Onat
  • 699
  • 1
  • 8
  • 17
26
votes
3 answers

ErrorActionPreference and ErrorAction SilentlyContinue for Get-PSSessionConfiguration

My case: $ErrorActionPreference = "Stop"; "1 - $ErrorActionPreference;" Get-ChildItem NoSuchFile.txt -ErrorAction SilentlyContinue; "2 - $ErrorActionPreference;" Get-ChildItem NoSuchFile.txt -ErrorAction Stop; "3 -…
Kiquenet
  • 13,271
  • 31
  • 133
  • 232
24
votes
2 answers

Detect Silent mode in iOS5?

I have used this method in the past to detect if the silent switch is enabled: - (BOOL)silenced { #if TARGET_IPHONE_SIMULATOR // return NO in simulator. Code causes crashes for some reason. return NO; #endif CFStringRef state; …
CCDEV
  • 371
  • 1
  • 5
  • 16
18
votes
5 answers

How to Play a sound using AVAudioPlayer when in Silent Mode in iPhone

I want to play a sound even in silent mode in iPhone. Can it be done by using AVAudioPlayer (Without using AVAudioSession) (For ios 3.0+) Thanks in advance.
Nima
  • 759
  • 3
  • 8
  • 14
14
votes
1 answer

Silent printing of a PDF in Python

I'm trying to print a PDF with Python, without opening the PDF viewer application (Adobe, Foxit etc.). I need also to know when printing has finished (to delete the file). Here I found this implementation: import win32ui, dde, os.path, time from…
bluish
  • 23,093
  • 23
  • 110
  • 171
14
votes
1 answer

Install iOS app directly from website - no password, no iTunes, no UDID

I just installed an app from a website - with no profile, no UDID, no anything. It just started installing. How is this possible? I am not jailbroken, not running the new beta 6. When it finished installing I tapped on it and it asked me if I was…
malaki1974
  • 1,541
  • 3
  • 15
  • 30
13
votes
2 answers

grant system permissions to an app in the android emulator

I am building an app that will be bundled on an android device as a system app. The manufacturer is a ways out on delivering the device to us, so in the meantime I'd like to grant my app system level permissions in the emulator so I can work on an…
Ben
  • 14,789
  • 19
  • 67
  • 115
12
votes
2 answers

How to silent cvxopt solver [Python]?

Whenever I run Python cvsopt solver in terminal, it will print: pcost dcost gap pres dres 0: -8.0742e+00 -7.3715e+00 3e+03 5e+01 4e-15 1: -6.6241e-01 -7.2834e+00 7e+01 1e+00 3e-15 ...... Optimal solution found. Can I…
Spectral
  • 3,628
  • 3
  • 24
  • 31
12
votes
1 answer

Swift & NSUserNotification - No banner or alert, but is silently added to the notification list

I am learning Swift and wanted to display a simple user notification as a test. My build is successful, but no banner is shown, instead, the notification is silently added to the list of notifications. I have verified 'Do Not Disturb' is off, I…
Isaiah
  • 1,703
  • 4
  • 22
  • 41
1
2 3
21 22