Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 158 for Quit (0.4 sec)

  1. misc/go_android_exec/main.go

    	// Forward SIGQUIT from the go command to show backtraces from
    	// the binary instead of from this wrapper.
    	quit := make(chan os.Signal, 1)
    	signal.Notify(quit, syscall.SIGQUIT)
    	go func() {
    		for range quit {
    			// We don't have the PID of the running process; use the
    			// binary name instead.
    			adb("exec-out", "killall -QUIT "+binName)
    		}
    	}()
    	cmd := `export TMPDIR="` + deviceGotmp + `"` +
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. docs/pt/docs/deployment/manually.md

         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Uvicorn running on <font color="#729FCF"><u style="text-decoration-style:solid">http://0.0.0.0:8000</u></font> <b>(</b>Press CTRL+C
                 to quit<b>)</b>
    ```
    
    </div>
    
    Isto deve funcionar para a maioria dos casos. 😎
    
    Você pode utilizar esse comando, por exemplo, para iniciar sua aplicação **FastAPI** em um contêiner, em um servidor, etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jan 09 20:41:07 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/first-steps.md

    ```
    
    </div>
    
    以下のようなアプリを作成したとき:
    
    {* ../../docs_src/first_steps/tutorial002.py hl[3] *}
    
    そして、それを`main.py`ファイルに置き、次のように`uvicorn`を呼び出します:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:my_awesome_api --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/websockets.md

    If your file is named `main.py`, run your application with:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Open your browser at <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    You will see a simple page like:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. docs/es/docs/deployment/server-workers.md

     <font color="#4E9A06">╰─────────────────────────────────────────────────────╯</font>
    
    <font color="#4E9A06">INFO</font>:     Uvicorn running on <b>http://0.0.0.0:8000</b> (Press CTRL+C to quit)
    <font color="#4E9A06">INFO</font>:     Started parent process [<font color="#34E2E2"><b>27365</b></font>]
    <font color="#4E9A06">INFO</font>:     Started server process [<font color="#06989A">27368</font>]
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. docs/es/docs/advanced/behind-a-proxy.md

    <div class="termy">
    
    ```console
    $ fastapi run main.py --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Si usas Hypercorn, también tiene la opción `--root-path`.
    
    /// note | Detalles Técnicos
    
    La especificación ASGI define un `root_path` para este caso de uso.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. docs/ko/docs/advanced/websockets.md

    ## 시도해보기
    
    파일 이름이 `main.py`라고 가정하고 응용 프로그램을 실행합니다:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    브라우저에서 <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>을 열어보세요.
    
    간단한 페이지가 나타날 것입니다:
    
    <img src="/img/tutorial/websockets/image01.png">
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Nov 27 20:03:29 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/manually.md

         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Uvicorn running on <font color="#729FCF"><u style="text-decoration-style:solid">http://0.0.0.0:8000</u></font> <b>(</b>Press CTRL+C
                 to quit<b>)</b>
    ```
    
    </div>
    
    That would work for most of the cases. 😎
    
    You could use that command for example to start your **FastAPI** app in a container, in a server, etc.
    
    ## ASGI Servers { #asgi-servers }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    	go func() {
    		saveTicker := time.NewTicker(10 * time.Second)
    		defer saveTicker.Stop()
    		quit := false
    		after := time.Minute
    		for !quit {
    			select {
    			case <-saveTicker.C:
    			case <-ctx.Done():
    				quit = true
    			case <-saverQuitCh:
    				quit = true
    			}
    
    			if quit {
    				// save immediately if we are quitting
    				after = 0
    			}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/behind-a-proxy.md

    为此,要以如下方式使用命令行选项 `--root-path`:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Hypercorn 也支持 `--root-path `选项。
    
    /// note | 技术细节
    
    ASGI 规范定义的 `root_path` 就是为了这种用例。
    
    并且 `--root-path` 命令行选项支持 `root_path`。
    
    ///
    
    ### 查看当前的 `root_path`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top